Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.001151/0.001151, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 239.3 MB, free: 4.621 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.002198/0.002198, allocations: 192.5 kB / 289.6 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4616/0.4616, allocations: 78.54 MB / 418.2 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001689, allocations: 83.89 kB / 497.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1575, allocations: 68.16 MB / 0.5525 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2951/0.4527, allocations: 5.69 MB / 0.558 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.4559, allocations: 1.724 MB / 0.5597 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004885/0.4564, allocations: 8.688 kB / 0.5597 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.457, allocations: 198.3 kB / 0.5599 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.4585, allocations: 0.6825 MB / 0.5606 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.4596, allocations: 0.556 MB / 0.5611 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.4607, allocations: 1.216 MB / 0.5623 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.461, allocations: 270.8 kB / 0.5626 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005339/0.4616, allocations: 0.5119 MB / 0.5631 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006068/0.4622, allocations: 0.6385 MB / 0.5637 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.4623, allocations: 91.12 kB / 0.5638 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.4627, allocations: 222 kB / 0.564 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.4629, allocations: 235 kB / 0.5642 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003391/0.4633, allocations: 0.5364 MB / 0.5647 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009802/0.4643, allocations: 1.326 MB / 0.566 GB, free: 34.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4643, allocations: 0.875 kB / 0.566 GB, free: 34.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4643, allocations: 0 / 0.566 GB, free: 34.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.4643, allocations: 5.281 kB / 0.566 GB, free: 34.82 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006785/0.4711, allocations: 2.329 MB / 0.5683 GB, free: 34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4711, allocations: 10.19 kB / 0.5683 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.4713, allocations: 118.6 kB / 0.5684 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00446/0.4757, allocations: 0.7584 MB / 0.5692 GB, free: 33.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008712/0.4766, allocations: 0.7039 MB / 0.5699 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.4768, allocations: 248 kB / 0.5701 GB, free: 33.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.477, allocations: 68.72 kB / 0.5702 GB, free: 33.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.4787, allocations: 0.9412 MB / 0.5711 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4787, allocations: 0.5938 kB / 0.5711 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/0.4788, allocations: 26.47 kB / 0.5711 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.4788, allocations: 17.72 kB / 0.5711 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.4808, allocations: 0.9713 MB / 0.5721 GB, free: 33.27 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.004894/0.4857, allocations: 3.146 MB / 0.5751 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.4876, allocations: 1.31 MB / 0.5764 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.4889, allocations: 0.6975 MB / 0.5771 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.064e-05/0.489, allocations: 17.34 kB / 0.5771 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.489, allocations: 41.81 kB / 0.5772 GB, free: 31.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.946e-06/0.489, allocations: 4 kB / 0.5772 GB, free: 31.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02552/0.5146, allocations: 6.696 MB / 0.5837 GB, free: 30.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.5146, allocations: 64.19 kB / 0.5838 GB, free: 30.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.5159, allocations: 0.7884 MB / 0.5845 GB, free: 29.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002092/0.5161, allocations: 39.89 kB / 0.5846 GB, free: 29.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.5164, allocations: 425.4 kB / 0.585 GB, free: 29.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.5167, allocations: 292.1 kB / 0.5852 GB, free: 29.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/0.5171, allocations: 176.7 kB / 0.5854 GB, free: 29.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.5172, allocations: 347.6 kB / 0.5857 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.5186, allocations: 0.6403 MB / 0.5864 GB, free: 28.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.5202, allocations: 0.7592 MB / 0.5871 GB, free: 28.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/0.5386, allocations: 4.459 MB / 0.5915 GB, free: 27.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.5387, allocations: 1.375 kB / 0.5915 GB, free: 27.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01486/0.5535, allocations: 4.04 MB / 0.5954 GB, free: 26.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.5536, allocations: 5.562 kB / 0.5954 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.5536, allocations: 2.5 kB / 0.5954 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006783/0.5604, allocations: 1.873 MB / 0.5973 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000908/0.5613, allocations: 162.8 kB / 0.5974 GB, free: 25.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/0.583, allocations: 9.109 MB / 0.6063 GB, free: 21.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.5845, allocations: 154.2 kB / 0.6065 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/0.5846, allocations: 31.81 kB / 0.6065 GB, free: 21.35 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0004376/0.585, allocations: 219.2 kB / 0.6067 GB, free: 21.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.5852, allocations: 104.4 kB / 0.6068 GB, free: 21.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.5974, allocations: 3.82 MB / 0.6105 GB, free: 19.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.5974, allocations: 8.125 kB / 0.6105 GB, free: 19.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5974, allocations: 0 / 0.6105 GB, free: 19.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.5975, allocations: 5.547 kB / 0.6105 GB, free: 19.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.6102, allocations: 5.329 MB / 0.6157 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6103, allocations: 4 kB / 0.6157 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.6107, allocations: 87.83 kB / 0.6158 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005282/0.616, allocations: 1.748 MB / 0.6175 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.6162, allocations: 12 kB / 0.6175 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01612/0.6323, allocations: 8.091 MB / 0.6254 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6323, allocations: 0 / 0.6254 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/0.6455, allocations: 4.688 MB / 0.63 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.6459, allocations: 184.4 kB / 0.6302 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.6461, allocations: 16 kB / 0.6302 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/0.647, allocations: 96.89 kB / 0.6303 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006174/0.6476, allocations: 196.7 kB / 0.6305 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-05/0.6477, allocations: 16 kB / 0.6305 GB, free: 14.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006898/0.6484, allocations: 0.5342 MB / 0.631 GB, free: 14.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6484, allocations: 0 / 0.631 GB, free: 14.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00126/0.6496, allocations: 399.5 kB / 0.6314 GB, free: 13.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.01508/0.6647, allocations: 5.264 MB / 0.6366 GB, free: 8.344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007248/0.672, allocations: 2.326 MB / 0.6388 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6721, allocations: 64 / 0.6388 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004786/0.6769, allocations: 1.509 MB / 0.6403 GB, free: 4.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/0.6779, allocations: 78.61 kB / 0.6404 GB, free: 4.422 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03782/0.7157, allocations: 14.38 MB / 0.6544 GB, free: 5.742 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.7165, allocations: 1.025 MB / 0.6554 GB, free: 4.688 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003827/0.7169, allocations: 73.3 kB / 0.6555 GB, free: 4.617 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005475/0.7174, allocations: 379.3 kB / 0.6558 GB, free: 4.246 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.7174, allocations: 0 / 0.6558 GB, free: 4.246 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06478/0.7822, allocations: 30.25 MB / 0.6854 GB, free: 6.301 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.02, allocations: 6.5 kB / 0.6854 GB, free: 6.297 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)