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.00703/0.00703, allocations: 169.5 kB / 15.13 MB, free: 6.027 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.493/1.493, allocations: 223.3 MB / 239.1 MB, free: 4 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.0007871/0.000787, allocations: 97.06 kB / 290.3 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4983/0.4983, allocations: 78.61 MB / 420 MB, free: 36.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 12 kB / 500 MB, free: 7.152 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1388, allocations: 69.36 MB / 0.556 GB, free: 1.734 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005065/0.1439, allocations: 5.34 MB / 0.5612 GB, free: 12.37 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.147, allocations: 1.686 MB / 0.5629 GB, free: 10.68 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.1474, allocations: 8 kB / 0.5629 GB, free: 10.67 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.1478, allocations: 142.9 kB / 0.563 GB, free: 10.53 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.1491, allocations: 0.5711 MB / 0.5636 GB, free: 9.953 MB / 442.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.001012/0.1501, allocations: 0.494 MB / 0.564 GB, free: 9.465 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.1512, allocations: 1.132 MB / 0.5651 GB, free: 8.328 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.1515, allocations: 219.3 kB / 0.5654 GB, free: 8.102 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.152, allocations: 465.9 kB / 0.5658 GB, free: 7.645 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005703/0.1526, allocations: 0.5638 MB / 0.5664 GB, free: 7.078 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.581e-05/0.1527, allocations: 48 kB / 0.5664 GB, free: 7.031 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.1531, allocations: 167.9 kB / 0.5666 GB, free: 6.867 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.1533, allocations: 191 kB / 0.5667 GB, free: 6.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.1534, allocations: 197.1 kB / 0.5669 GB, free: 6.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008489/0.1543, allocations: 1.001 MB / 0.5679 GB, free: 5.477 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1543, allocations: 0 / 0.5679 GB, free: 5.477 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1543, allocations: 3.938 kB / 0.5679 GB, free: 5.473 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1543, allocations: 0 / 0.5679 GB, free: 5.473 MB / 442.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.006815/0.1612, allocations: 2.197 MB / 0.5701 GB, free: 3.223 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1612, allocations: 12.03 kB / 0.5701 GB, free: 3.211 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/0.1614, allocations: 114.5 kB / 0.5702 GB, free: 3.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004572/0.166, allocations: 0.7711 MB / 0.5709 GB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.1671, allocations: 0.6705 MB / 0.5716 GB, free: 1.602 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.1674, allocations: 264.2 kB / 0.5718 GB, free: 1.309 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.1676, allocations: 68 kB / 0.5719 GB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.1696, allocations: 1.026 MB / 0.5729 GB, free: 216 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1697, allocations: 0 / 0.5729 GB, free: 216 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.674e-05/0.1698, allocations: 27.98 kB / 0.5729 GB, free: 188 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.1698, allocations: 23.94 kB / 0.573 GB, free: 164 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2991/0.4689, allocations: 1.057 MB / 0.574 GB, free: 44.25 MB / 442.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.005813/0.4748, allocations: 3.231 MB / 0.5771 GB, free: 43.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.4768, allocations: 1.378 MB / 0.5785 GB, free: 42.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.4782, allocations: 0.7804 MB / 0.5792 GB, free: 42.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-05/0.4783, allocations: 14.33 kB / 0.5793 GB, free: 42.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4783, allocations: 43.06 kB / 0.5793 GB, free: 42.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 3.276e-06/0.4783, allocations: 0.6562 kB / 0.5793 GB, free: 42.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.02822/0.5066, allocations: 8.025 MB / 0.5871 GB, free: 42.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.5066, allocations: 64.06 kB / 0.5872 GB, free: 42.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.5078, allocations: 0.7868 MB / 0.588 GB, free: 42.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.508, allocations: 39.58 kB / 0.588 GB, free: 42.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.5083, allocations: 433.2 kB / 0.5884 GB, free: 41.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.5086, allocations: 303.5 kB / 0.5887 GB, free: 41.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.5087, allocations: 20.84 kB / 0.5887 GB, free: 41.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.5088, allocations: 349 kB / 0.5891 GB, free: 41.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.5103, allocations: 0.7324 MB / 0.5898 GB, free: 41.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.512, allocations: 0.8535 MB / 0.5906 GB, free: 41.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.5138, allocations: 0.7795 MB / 0.5914 GB, free: 41.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.5138, allocations: 1.656 kB / 0.5914 GB, free: 41.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01485/0.5287, allocations: 5.038 MB / 0.5963 GB, free: 40.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.5287, allocations: 7.094 kB / 0.5963 GB, free: 40.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.5287, allocations: 3.312 kB / 0.5963 GB, free: 40.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006152/0.5349, allocations: 2.084 MB / 0.5983 GB, free: 40.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008544/0.5358, allocations: 176 kB / 0.5985 GB, free: 40.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/0.5549, allocations: 9.523 MB / 0.6078 GB, free: 36.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.5562, allocations: 193.2 kB / 0.608 GB, free: 36.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.5563, allocations: 36.47 kB / 0.608 GB, free: 36 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003993/0.5568, allocations: 235.7 kB / 0.6082 GB, free: 35.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.5569, allocations: 103 kB / 0.6083 GB, free: 35.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/0.571, allocations: 4.725 MB / 0.613 GB, free: 34.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.5711, allocations: 9.266 kB / 0.613 GB, free: 34.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5711, allocations: 1.312 kB / 0.613 GB, free: 34.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/0.5711, allocations: 4.344 kB / 0.613 GB, free: 34.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/0.5875, allocations: 6.272 MB / 0.6191 GB, free: 32.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.5875, allocations: 0.5625 kB / 0.6191 GB, free: 32.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.5881, allocations: 101 kB / 0.6192 GB, free: 32.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006761/0.5949, allocations: 2.055 MB / 0.6212 GB, free: 32.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.595, allocations: 13.17 kB / 0.6212 GB, free: 32.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/0.613, allocations: 8.204 MB / 0.6292 GB, free: 28.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6131, allocations: 0 / 0.6292 GB, free: 28.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/0.6276, allocations: 5.714 MB / 0.6348 GB, free: 23.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.628, allocations: 196.3 kB / 0.635 GB, free: 23.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6281, allocations: 16 kB / 0.635 GB, free: 23.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000915/0.6291, allocations: 127.9 kB / 0.6351 GB, free: 23.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/0.6297, allocations: 197.8 kB / 0.6353 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.6298, allocations: 24.94 kB / 0.6353 GB, free: 23.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005642/0.6303, allocations: 0.5185 MB / 0.6359 GB, free: 22.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6303, allocations: 0 / 0.6359 GB, free: 22.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00125/0.6316, allocations: 417.1 kB / 0.6362 GB, free: 22.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01469/0.6463, allocations: 6.29 MB / 0.6424 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006154/0.6525, allocations: 2.581 MB / 0.6449 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6525, allocations: 0 / 0.6449 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004406/0.6569, allocations: 1.696 MB / 0.6466 GB, free: 11.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.6577, allocations: 85.55 kB / 0.6466 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/0.6786, allocations: 10.53 MB / 0.6569 GB, free: 0.832 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.6791, allocations: 1.033 MB / 0.6579 GB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.6794, allocations: 76.84 kB / 0.658 GB, free: 15.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.6799, allocations: 375.3 kB / 0.6584 GB, free: 15.34 MB / 458.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6799, allocations: 0 / 0.6584 GB, free: 15.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04674/0.7267, allocations: 27.61 MB / 0.6853 GB, free: 4.051 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.7269, allocations: 208.1 kB / 0.6855 GB, free: 3.812 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/3.632, allocations: 0 / 0.6855 GB, free: 3.812 MB / 474.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)