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.001294/0.001294, allocations: 178.4 kB / 15.45 MB, free: 6.176 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.37/1.37, allocations: 223.3 MB / 239.5 MB, free: 15.85 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009738/0.0009736, allocations: 92.09 kB / 290.6 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.52/0.52, allocations: 78.62 MB / 420.4 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 8 kB / 0.4889 GB, free: 6.715 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 69.35 MB / 0.5566 GB, free: 1.301 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005577/0.1411, allocations: 5.693 MB / 0.5622 GB, free: 11.57 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.1447, allocations: 1.782 MB / 0.5639 GB, free: 9.785 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009057/0.1456, allocations: 12 kB / 0.5639 GB, free: 9.773 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006679/0.1463, allocations: 158.9 kB / 0.5641 GB, free: 9.617 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.1484, allocations: 0.5976 MB / 0.5646 GB, free: 9.02 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.001341/0.1497, allocations: 0.5326 MB / 0.5652 GB, free: 8.492 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.1514, allocations: 1.19 MB / 0.5663 GB, free: 7.297 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/0.152, allocations: 231.6 kB / 0.5666 GB, free: 7.059 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008879/0.1528, allocations: 477.7 kB / 0.567 GB, free: 6.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008951/0.1538, allocations: 0.5947 MB / 0.5676 GB, free: 5.992 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.154, allocations: 48 kB / 0.5676 GB, free: 5.945 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.1547, allocations: 175.9 kB / 0.5678 GB, free: 5.773 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.1549, allocations: 202.8 kB / 0.568 GB, free: 5.574 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006861/0.1556, allocations: 0.5219 MB / 0.5685 GB, free: 5.043 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.1571, allocations: 1.273 MB / 0.5697 GB, free: 3.766 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1571, allocations: 0 / 0.5697 GB, free: 3.766 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.1571, allocations: 3.984 kB / 0.5698 GB, free: 3.762 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.81e-05/0.1571, allocations: 0 / 0.5698 GB, free: 3.762 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.006834/0.164, allocations: 2.186 MB / 0.5719 GB, free: 1.523 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.164, allocations: 12.03 kB / 0.5719 GB, free: 1.512 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002669/0.1643, allocations: 114.5 kB / 0.572 GB, free: 1.391 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004799/0.1691, allocations: 0.7713 MB / 0.5728 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2555/0.4247, allocations: 0.7048 MB / 0.5734 GB, free: 44.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.425, allocations: 257.7 kB / 0.5737 GB, free: 44.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.4252, allocations: 68.67 kB / 0.5738 GB, free: 44.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.4273, allocations: 1.04 MB / 0.5748 GB, free: 44.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.4274, allocations: 0 / 0.5748 GB, free: 44.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.319e-05/0.4274, allocations: 27.31 kB / 0.5748 GB, free: 44.15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.4275, allocations: 16.42 kB / 0.5748 GB, free: 44.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.4295, allocations: 1.066 MB / 0.5759 GB, free: 44.15 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.004862/0.4344, allocations: 3.247 MB / 0.579 GB, free: 43.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.4361, allocations: 1.375 MB / 0.5804 GB, free: 42.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.4375, allocations: 0.7806 MB / 0.5811 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.4376, allocations: 15.89 kB / 0.5811 GB, free: 42.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4377, allocations: 48.81 kB / 0.5812 GB, free: 42.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 2.204e-06/0.4377, allocations: 0 / 0.5812 GB, free: 42.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.02585/0.4635, allocations: 8.058 MB / 0.5891 GB, free: 42.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.4636, allocations: 64.84 kB / 0.5891 GB, free: 42.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.4648, allocations: 0.7869 MB / 0.5899 GB, free: 41.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.465, allocations: 40.58 kB / 0.5899 GB, free: 41.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.4654, allocations: 439.3 kB / 0.5904 GB, free: 41.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.4658, allocations: 298.3 kB / 0.5906 GB, free: 41.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.466, allocations: 98.19 kB / 0.5907 GB, free: 41.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.4661, allocations: 344.3 kB / 0.5911 GB, free: 41.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.4677, allocations: 0.7406 MB / 0.5918 GB, free: 41.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.4693, allocations: 0.8635 MB / 0.5926 GB, free: 40.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/0.4861, allocations: 5.026 MB / 0.5975 GB, free: 39.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.4862, allocations: 1.406 kB / 0.5975 GB, free: 39.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01294/0.4991, allocations: 4.989 MB / 0.6024 GB, free: 38.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.4992, allocations: 3 kB / 0.6024 GB, free: 38.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.4993, allocations: 2.875 kB / 0.6024 GB, free: 38.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005779/0.5051, allocations: 2.042 MB / 0.6044 GB, free: 38.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/0.506, allocations: 190.9 kB / 0.6046 GB, free: 38.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02046/0.5265, allocations: 9.322 MB / 0.6137 GB, free: 34.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.528, allocations: 186.5 kB / 0.6139 GB, free: 34.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/0.5282, allocations: 40.75 kB / 0.6139 GB, free: 34.13 MB / 442.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.0005986/0.5288, allocations: 223.8 kB / 0.6141 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.5291, allocations: 102.5 kB / 0.6142 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.5426, allocations: 4.731 MB / 0.6188 GB, free: 32.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.5427, allocations: 9.031 kB / 0.6188 GB, free: 32.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5427, allocations: 1 kB / 0.6188 GB, free: 32.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.5427, allocations: 4.641 kB / 0.6189 GB, free: 32.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/0.5591, allocations: 6.29 MB / 0.625 GB, free: 30.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.5591, allocations: 3.938 kB / 0.625 GB, free: 30.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.5597, allocations: 101.1 kB / 0.6251 GB, free: 30.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00617/0.5659, allocations: 2.051 MB / 0.6271 GB, free: 30.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.5661, allocations: 18.34 kB / 0.6271 GB, free: 30.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/0.5827, allocations: 8.205 MB / 0.6351 GB, free: 23.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5827, allocations: 0 / 0.6351 GB, free: 23.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/0.5964, allocations: 5.726 MB / 0.6407 GB, free: 17.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.5968, allocations: 196.6 kB / 0.6409 GB, free: 17.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.5971, allocations: 16 kB / 0.6409 GB, free: 17.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5982, allocations: 131.8 kB / 0.641 GB, free: 17.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006239/0.5988, allocations: 192.7 kB / 0.6412 GB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.08e-05/0.5989, allocations: 24.88 kB / 0.6413 GB, free: 17.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006359/0.5996, allocations: 0.5303 MB / 0.6418 GB, free: 16.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.5996, allocations: 0 / 0.6418 GB, free: 16.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001335/0.6009, allocations: 414.7 kB / 0.6422 GB, free: 16.17 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.0138/0.6147, allocations: 6.289 MB / 0.6483 GB, free: 9.844 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005969/0.6207, allocations: 2.575 MB / 0.6508 GB, free: 7.262 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6208, allocations: 2.25 kB / 0.6508 GB, free: 7.262 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004131/0.6249, allocations: 1.706 MB / 0.6525 GB, free: 5.555 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/0.6259, allocations: 75.34 kB / 0.6526 GB, free: 5.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03755/0.6635, allocations: 16.9 MB / 0.6691 GB, free: 4.289 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.6642, allocations: 1.029 MB / 0.6701 GB, free: 3.234 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003902/0.6646, allocations: 84.23 kB / 0.6702 GB, free: 3.152 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/0.6651, allocations: 373.6 kB / 0.6705 GB, free: 2.789 MB / 458.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6651, allocations: 3.938 kB / 0.6705 GB, free: 2.785 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04636/0.7115, allocations: 27.66 MB / 0.6975 GB, free: 7.438 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.7117, allocations: 224.8 kB / 0.6977 GB, free: 7.184 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.874/3.585, allocations: 7.938 kB / 0.6977 GB, free: 7.176 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)