Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.000849, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 239.3 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008699/0.0008699, allocations: 172.5 kB / 290.6 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3868/0.3868, allocations: 78.55 MB / 420.3 MB, free: 4.242 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 11.98 kB / 0.4888 GB, free: 5.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1042, allocations: 69.36 MB / 0.5565 GB, free: 480 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.179/0.2832, allocations: 5.685 MB / 0.562 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.2854, allocations: 1.77 MB / 0.5638 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.2856, allocations: 11.53 kB / 0.5638 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.2859, allocations: 162.2 kB / 0.5639 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.287, allocations: 0.5995 MB / 0.5645 GB, free: 34.96 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.2878, allocations: 0.5282 MB / 0.565 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007504/0.2885, allocations: 1.191 MB / 0.5662 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.2888, allocations: 236.5 kB / 0.5664 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.2891, allocations: 475.3 kB / 0.5669 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.2896, allocations: 0.5914 MB / 0.5675 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.171e-05/0.2897, allocations: 47.31 kB / 0.5675 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.2899, allocations: 176.1 kB / 0.5677 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.29, allocations: 199 kB / 0.5679 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.2903, allocations: 0.5216 MB / 0.5684 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007192/0.291, allocations: 1.284 MB / 0.5696 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.291, allocations: 0 / 0.5696 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2911, allocations: 2.031 kB / 0.5696 GB, free: 33.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2911, allocations: 0 / 0.5696 GB, free: 33.55 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.005869/0.2969, allocations: 2.199 MB / 0.5718 GB, free: 32.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.297, allocations: 11.03 kB / 0.5718 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.2971, allocations: 118.4 kB / 0.5719 GB, free: 32.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004286/0.3014, allocations: 0.7561 MB / 0.5726 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006527/0.3021, allocations: 0.7052 MB / 0.5733 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.3023, allocations: 266.7 kB / 0.5736 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.3024, allocations: 66.56 kB / 0.5736 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.3041, allocations: 1.038 MB / 0.5747 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3041, allocations: 0.6562 kB / 0.5747 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.606e-05/0.3042, allocations: 27.81 kB / 0.5747 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3042, allocations: 18.34 kB / 0.5747 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.306, allocations: 1.062 MB / 0.5757 GB, free: 31.98 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/0.3101, allocations: 3.25 MB / 0.5789 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.3117, allocations: 1.375 MB / 0.5803 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.313, allocations: 0.7854 MB / 0.581 GB, free: 30.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.581e-05/0.3131, allocations: 17.17 kB / 0.581 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3132, allocations: 44.78 kB / 0.5811 GB, free: 30.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.597e-06/0.3132, allocations: 1.406 kB / 0.5811 GB, free: 30.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02481/0.338, allocations: 8.057 MB / 0.5889 GB, free: 29.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.338, allocations: 68.09 kB / 0.589 GB, free: 28.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007238/0.3387, allocations: 0.7903 MB / 0.5898 GB, free: 28.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.75e-05/0.3388, allocations: 36.86 kB / 0.5898 GB, free: 28.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.339, allocations: 437.1 kB / 0.5902 GB, free: 28.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.3392, allocations: 299 kB / 0.5905 GB, free: 28.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3393, allocations: 96.58 kB / 0.5906 GB, free: 27.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.3394, allocations: 350.4 kB / 0.5909 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.3408, allocations: 0.7306 MB / 0.5917 GB, free: 27.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.3422, allocations: 0.8607 MB / 0.5925 GB, free: 27.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/0.3591, allocations: 5.019 MB / 0.5974 GB, free: 25.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3591, allocations: 0 / 0.5974 GB, free: 25.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01323/0.3723, allocations: 4.988 MB / 0.6023 GB, free: 24.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3723, allocations: 8.156 kB / 0.6023 GB, free: 24.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3723, allocations: 1.375 kB / 0.6023 GB, free: 24.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005913/0.3783, allocations: 2.054 MB / 0.6043 GB, free: 24.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.379, allocations: 194.9 kB / 0.6045 GB, free: 24.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/0.3972, allocations: 9.306 MB / 0.6136 GB, free: 18.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3983, allocations: 199 kB / 0.6138 GB, free: 18.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.3984, allocations: 35.66 kB / 0.6138 GB, free: 18.59 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003104/0.3987, allocations: 228.8 kB / 0.614 GB, free: 18.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.3989, allocations: 108.2 kB / 0.6141 GB, free: 18.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.4108, allocations: 4.722 MB / 0.6187 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4109, allocations: 8 kB / 0.6187 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.4109, allocations: 3.984 kB / 0.6187 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4109, allocations: 11.92 kB / 0.6187 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.4238, allocations: 6.284 MB / 0.6249 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4238, allocations: 4 kB / 0.6249 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.4242, allocations: 95.88 kB / 0.625 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005299/0.4295, allocations: 2.056 MB / 0.627 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.12e-05/0.4296, allocations: 12.61 kB / 0.627 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/0.4457, allocations: 8.216 MB / 0.635 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4457, allocations: 0 / 0.635 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/0.4609, allocations: 5.735 MB / 0.6406 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.461, allocations: 183.7 kB / 0.6408 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.4611, allocations: 22.05 kB / 0.6408 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008947/0.462, allocations: 127.9 kB / 0.6409 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004596/0.4625, allocations: 199.6 kB / 0.6411 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.4626, allocations: 20 kB / 0.6411 GB, free: 6.262 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005866/0.4632, allocations: 0.5303 MB / 0.6417 GB, free: 5.734 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4632, allocations: 0 / 0.6417 GB, free: 5.734 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008848/0.4641, allocations: 407.5 kB / 0.6421 GB, free: 5.336 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01551/0.4796, allocations: 6.3 MB / 0.6482 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006176/0.4858, allocations: 2.573 MB / 0.6507 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4858, allocations: 0 / 0.6507 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004508/0.4903, allocations: 1.693 MB / 0.6524 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.4909, allocations: 85.52 kB / 0.6525 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03572/0.5266, allocations: 16.9 MB / 0.669 GB, free: 9.426 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.5271, allocations: 1.032 MB / 0.67 GB, free: 8.367 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000244/0.5274, allocations: 80.38 kB / 0.67 GB, free: 8.289 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.5278, allocations: 375.3 kB / 0.6704 GB, free: 7.922 MB / 478.1 MB Notification: Performance of SimCode: time 3.8e-07/0.5278, allocations: 3.938 kB / 0.6704 GB, free: 7.918 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/0.5674, allocations: 27.66 MB / 0.6974 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.5677, allocations: 217.5 kB / 0.6976 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.723, allocations: 0 / 0.6976 GB, free: 12.34 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)