Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 172.1 kB / 15.42 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.8 MB / 239 MB, free: 108 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007517/0.0007517, allocations: 93.69 kB / 289.8 MB, free: 4.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3041/0.3041, allocations: 78.44 MB / 418.9 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.0005075, allocations: 12.75 kB / 498.5 MB, free: 35.37 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3572, allocations: 68.73 MB / 0.554 GB, free: 10.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005399/0.3626, allocations: 6.136 MB / 0.56 GB, free: 6.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.3656, allocations: 1.791 MB / 0.5617 GB, free: 5.109 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.366, allocations: 11.53 kB / 0.5617 GB, free: 5.109 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.3665, allocations: 163 kB / 0.5619 GB, free: 5.043 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.3678, allocations: 0.6118 MB / 0.5625 GB, free: 4.637 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001065/0.3689, allocations: 0.529 MB / 0.563 GB, free: 4.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.3699, allocations: 1.194 MB / 0.5642 GB, free: 3.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.3703, allocations: 242.2 kB / 0.5644 GB, free: 3.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005696/0.3709, allocations: 475.6 kB / 0.5648 GB, free: 3.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006585/0.3715, allocations: 0.5946 MB / 0.5654 GB, free: 3.133 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.3717, allocations: 46.81 kB / 0.5655 GB, free: 3.133 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.3721, allocations: 170.6 kB / 0.5656 GB, free: 3.098 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.3723, allocations: 199.7 kB / 0.5658 GB, free: 2.977 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.3727, allocations: 0.5015 MB / 0.5663 GB, free: 2.652 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.3742, allocations: 1.276 MB / 0.5676 GB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3742, allocations: 0 / 0.5676 GB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3742, allocations: 0.6094 kB / 0.5676 GB, free: 2.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.3742, allocations: 4 kB / 0.5676 GB, free: 2.152 MB / 378.7 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.006706/0.3809, allocations: 2.138 MB / 0.5696 GB, free: 1.199 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.381, allocations: 10.03 kB / 0.5697 GB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.3812, allocations: 113.1 kB / 0.5698 GB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/0.3859, allocations: 0.7597 MB / 0.5705 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009539/0.3868, allocations: 0.7 MB / 0.5712 GB, free: 488 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.3871, allocations: 259.1 kB / 0.5714 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.3872, allocations: 68.19 kB / 0.5715 GB, free: 232 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.3892, allocations: 0.963 MB / 0.5724 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3892, allocations: 1.125 kB / 0.5724 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.043e-05/0.3893, allocations: 24.5 kB / 0.5725 GB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3893, allocations: 16.28 kB / 0.5725 GB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.3914, allocations: 0.9791 MB / 0.5734 GB, free: 15.53 MB / 394.7 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.005311/0.3968, allocations: 3.189 MB / 0.5765 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.3987, allocations: 1.303 MB / 0.5778 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.4001, allocations: 0.7119 MB / 0.5785 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.4002, allocations: 18.2 kB / 0.5785 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.4002, allocations: 38.88 kB / 0.5786 GB, free: 12.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=83): time 2.204e-06/0.4002, allocations: 11.88 kB / 0.5786 GB, free: 12.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=83): time 0.02435/0.4246, allocations: 6.481 MB / 0.5849 GB, free: 8.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.4247, allocations: 68.38 kB / 0.585 GB, free: 8.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.4258, allocations: 0.7902 MB / 0.5857 GB, free: 8.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.426, allocations: 41.58 kB / 0.5858 GB, free: 8.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.4263, allocations: 433.9 kB / 0.5862 GB, free: 7.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/0.4266, allocations: 304.6 kB / 0.5865 GB, free: 7.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.4268, allocations: 96.34 kB / 0.5866 GB, free: 7.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4269, allocations: 347.9 kB / 0.5869 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.4283, allocations: 0.6593 MB / 0.5876 GB, free: 6.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.4298, allocations: 0.7813 MB / 0.5883 GB, free: 6.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/0.4465, allocations: 4.523 MB / 0.5927 GB, free: 3.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.4465, allocations: 4 kB / 0.5927 GB, free: 3.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01232/0.4588, allocations: 4.067 MB / 0.5967 GB, free: 15.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.4589, allocations: 4 kB / 0.5967 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.4589, allocations: 4 kB / 0.5967 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005583/0.4645, allocations: 1.741 MB / 0.5984 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.4655, allocations: 187.7 kB / 0.5986 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/0.4838, allocations: 8.326 MB / 0.6067 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.4853, allocations: 159 kB / 0.6069 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.984e-05/0.4854, allocations: 35.98 kB / 0.6069 GB, free: 4.484 MB / 410.7 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.0004486/0.4858, allocations: 225.6 kB / 0.6071 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.486, allocations: 106.6 kB / 0.6072 GB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.4978, allocations: 3.809 MB / 0.611 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.4978, allocations: 12 kB / 0.611 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4978, allocations: 0 / 0.611 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.4979, allocations: 7.922 kB / 0.611 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.5114, allocations: 5.38 MB / 0.6162 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.5115, allocations: 0 / 0.6162 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.512, allocations: 87.88 kB / 0.6163 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005513/0.5175, allocations: 1.745 MB / 0.618 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.5177, allocations: 16 kB / 0.618 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01597/0.5336, allocations: 7.338 MB / 0.6252 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5337, allocations: 4 kB / 0.6252 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/0.5472, allocations: 4.747 MB / 0.6298 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000466/0.5477, allocations: 191.6 kB / 0.63 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.5478, allocations: 12 kB / 0.63 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008918/0.5487, allocations: 91.89 kB / 0.6301 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006648/0.5494, allocations: 192.7 kB / 0.6303 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.5495, allocations: 24 kB / 0.6303 GB, free: 12.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006579/0.5502, allocations: 0.5264 MB / 0.6308 GB, free: 11.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5502, allocations: 0 / 0.6308 GB, free: 11.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001145/0.5513, allocations: 411.6 kB / 0.6312 GB, free: 11.24 MB / 442.7 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.01388/0.5652, allocations: 5.311 MB / 0.6364 GB, free: 5.895 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005867/0.5711, allocations: 2.263 MB / 0.6386 GB, free: 3.617 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5711, allocations: 0 / 0.6386 GB, free: 3.617 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004048/0.5752, allocations: 1.463 MB / 0.6401 GB, free: 2.137 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.576, allocations: 79.28 kB / 0.6401 GB, free: 2.055 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03501/0.6111, allocations: 14.94 MB / 0.6547 GB, free: 2.777 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.6117, allocations: 1.029 MB / 0.6557 GB, free: 1.719 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003902/0.6121, allocations: 82.25 kB / 0.6558 GB, free: 1.637 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.6125, allocations: 375.3 kB / 0.6562 GB, free: 1.273 MB / 458.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6126, allocations: 0 / 0.6562 GB, free: 1.273 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.6561, allocations: 27.66 MB / 0.6832 GB, free: 5.777 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.6563, allocations: 224.1 kB / 0.6834 GB, free: 5.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/3.403, allocations: 0 / 0.6834 GB, free: 5.52 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)