Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_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.007203/0.007203, allocations: 103 kB / 15.73 MB, free: 6.492 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.352/1.352, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001398/0.001398, allocations: 187.6 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.516/0.516, allocations: 91.9 MB / 431.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 84.69 kB / 0.5723 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1525, allocations: 71.28 MB / 0.6419 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006415/0.159, allocations: 5.804 MB / 0.6475 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.1627, allocations: 1.778 MB / 0.6493 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000715/0.1635, allocations: 11.94 kB / 0.6493 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.1641, allocations: 194.3 kB / 0.6495 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.166, allocations: 0.7302 MB / 0.6502 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.1674, allocations: 0.5765 MB / 0.6507 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.1688, allocations: 1.257 MB / 0.652 GB, free: 9.684 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.1692, allocations: 274 kB / 0.6522 GB, free: 9.406 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000593/0.1698, allocations: 0.5251 MB / 0.6527 GB, free: 8.879 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.1705, allocations: 0.6416 MB / 0.6534 GB, free: 8.234 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.1707, allocations: 88 kB / 0.6535 GB, free: 8.148 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.1711, allocations: 223.9 kB / 0.6537 GB, free: 7.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.1713, allocations: 242.8 kB / 0.6539 GB, free: 7.691 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004904/0.1718, allocations: 0.5437 MB / 0.6544 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1733, allocations: 1.359 MB / 0.6558 GB, free: 5.781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1733, allocations: 0 / 0.6558 GB, free: 5.781 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1734, allocations: 0 / 0.6558 GB, free: 5.781 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.1734, allocations: 0 / 0.6558 GB, free: 5.781 MB / 462.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.00712/0.1805, allocations: 2.341 MB / 0.658 GB, free: 3.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1806, allocations: 15.97 kB / 0.6581 GB, free: 3.371 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.1807, allocations: 110.5 kB / 0.6582 GB, free: 3.254 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/0.1855, allocations: 0.7635 MB / 0.6589 GB, free: 2.488 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.1867, allocations: 0.7205 MB / 0.6596 GB, free: 1.727 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/0.187, allocations: 248.2 kB / 0.6599 GB, free: 1.445 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.1872, allocations: 71.98 kB / 0.6599 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.1891, allocations: 0.9559 MB / 0.6609 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.1891, allocations: 4 kB / 0.6609 GB, free: 416 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/0.1892, allocations: 28 kB / 0.6609 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.1892, allocations: 16 kB / 0.6609 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.1913, allocations: 0.9721 MB / 0.6618 GB, free: 15.39 MB / 478.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.005532/0.1968, allocations: 3.194 MB / 0.665 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.1988, allocations: 1.307 MB / 0.6662 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.2001, allocations: 0.7048 MB / 0.6669 GB, free: 9.906 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.2003, allocations: 16.98 kB / 0.6669 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.2003, allocations: 43.56 kB / 0.667 GB, free: 9.836 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 2.865e-06/0.2003, allocations: 0 / 0.667 GB, free: 9.836 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.02319/0.2235, allocations: 6.465 MB / 0.6733 GB, free: 3.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.2236, allocations: 72.33 kB / 0.6734 GB, free: 3.254 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.2249, allocations: 0.7945 MB / 0.6741 GB, free: 2.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.2251, allocations: 41.7 kB / 0.6742 GB, free: 2.402 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.2255, allocations: 432.4 kB / 0.6746 GB, free: 1.973 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004227/0.2259, allocations: 299.7 kB / 0.6749 GB, free: 1.676 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000469/0.2264, allocations: 186.8 kB / 0.6751 GB, free: 1.484 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2266, allocations: 345.9 kB / 0.6754 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.2281, allocations: 0.6624 MB / 0.676 GB, free: 492 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.2297, allocations: 0.7757 MB / 0.6768 GB, free: 15.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01743/0.2471, allocations: 4.527 MB / 0.6812 GB, free: 11.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.2472, allocations: 0 / 0.6812 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.013/0.2602, allocations: 4.071 MB / 0.6852 GB, free: 7.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.2602, allocations: 4 kB / 0.6852 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.2603, allocations: 4 kB / 0.6852 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005805/0.2661, allocations: 1.737 MB / 0.6869 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.2671, allocations: 183.7 kB / 0.6871 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/0.288, allocations: 9.052 MB / 0.6959 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.2895, allocations: 159 kB / 0.6961 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.2898, allocations: 43.97 kB / 0.6961 GB, free: 11.69 MB / 0.4981 GB 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.0005818/0.2904, allocations: 221.6 kB / 0.6963 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.2906, allocations: 102.7 kB / 0.6964 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.3028, allocations: 3.817 MB / 0.7001 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.3028, allocations: 11.94 kB / 0.7002 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3028, allocations: 0 / 0.7002 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.3029, allocations: 7.984 kB / 0.7002 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.317, allocations: 5.333 MB / 0.7054 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.317, allocations: 0 / 0.7054 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.3176, allocations: 87.89 kB / 0.7055 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00559/0.3232, allocations: 1.737 MB / 0.7072 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.3234, allocations: 23.98 kB / 0.7072 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.3415, allocations: 8.06 MB / 0.715 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3416, allocations: 0 / 0.715 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.3554, allocations: 4.689 MB / 0.7196 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.3558, allocations: 187.6 kB / 0.7198 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/0.3561, allocations: 12 kB / 0.7198 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009953/0.3571, allocations: 95.89 kB / 0.7199 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007324/0.3579, allocations: 204.6 kB / 0.7201 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.358, allocations: 20 kB / 0.7201 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008433/0.3588, allocations: 0.5303 MB / 0.7206 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.653e-06/0.3589, allocations: 0 / 0.7206 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001585/0.3604, allocations: 411.5 kB / 0.721 GB, free: 1.812 MB / 0.5137 GB 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.0141/0.3746, allocations: 5.276 MB / 0.7262 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006559/0.3812, allocations: 2.301 MB / 0.7284 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.3812, allocations: 0 / 0.7284 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004438/0.3857, allocations: 1.516 MB / 0.7299 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.3866, allocations: 81.83 kB / 0.73 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03514/0.4218, allocations: 14.14 MB / 0.7438 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007978/0.4226, allocations: 1.033 MB / 0.7448 GB, free: 9.191 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003938/0.4231, allocations: 82.3 kB / 0.7449 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/0.4236, allocations: 375.3 kB / 0.7452 GB, free: 8.746 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/0.4236, allocations: 4 kB / 0.7452 GB, free: 8.742 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4163/0.84, allocations: 30.95 MB / 0.7755 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/16.17, allocations: 4.594 kB / 0.7755 GB, free: 119.8 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)