Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0818/0.0818, allocations: 12.59 MB / 28.21 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 111.4 kB / 31.83 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 184.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4104/0.4104, allocations: 78.52 MB / 419.3 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003689/0.003689, allocations: 140.3 kB / 0.5554 GB, free: 28.64 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1059, allocations: 68.13 MB / 0.6219 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006411/0.1124, allocations: 5.742 MB / 0.6275 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.1158, allocations: 1.701 MB / 0.6292 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004036/0.1162, allocations: 8 kB / 0.6292 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004548/0.1167, allocations: 198.3 kB / 0.6294 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.1184, allocations: 0.6802 MB / 0.63 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1196, allocations: 0.5569 MB / 0.6306 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.121, allocations: 1.222 MB / 0.6318 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.1214, allocations: 271.1 kB / 0.632 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006476/0.1221, allocations: 0.5173 MB / 0.6325 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007025/0.1228, allocations: 0.6338 MB / 0.6332 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.1229, allocations: 88 kB / 0.6332 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.1234, allocations: 227.8 kB / 0.6335 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.1236, allocations: 239 kB / 0.6337 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004728/0.1241, allocations: 0.5359 MB / 0.6342 GB, free: 3.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.1256, allocations: 1.346 MB / 0.6355 GB, free: 1.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1256, allocations: 4 kB / 0.6355 GB, free: 1.801 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1256, allocations: 0 / 0.6355 GB, free: 1.801 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.1256, allocations: 0 / 0.6355 GB, free: 1.801 MB / 446.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.007091/0.1327, allocations: 2.356 MB / 0.6378 GB, free: 15.39 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1328, allocations: 15.98 kB / 0.6378 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.1329, allocations: 114.5 kB / 0.638 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/0.1376, allocations: 0.768 MB / 0.6387 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.1386, allocations: 0.7057 MB / 0.6394 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/0.1389, allocations: 247.5 kB / 0.6396 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.139, allocations: 68 kB / 0.6397 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.141, allocations: 0.9433 MB / 0.6406 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.141, allocations: 4 kB / 0.6406 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.1411, allocations: 28 kB / 0.6406 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.1411, allocations: 16 kB / 0.6407 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.1432, allocations: 0.9693 MB / 0.6416 GB, free: 11.42 MB / 462.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.005168/0.1484, allocations: 3.148 MB / 0.6447 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.1505, allocations: 1.319 MB / 0.646 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.152, allocations: 0.6944 MB / 0.6466 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-05/0.1521, allocations: 16.64 kB / 0.6467 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1521, allocations: 43.22 kB / 0.6467 GB, free: 5.922 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.234e-06/0.1521, allocations: 0 / 0.6467 GB, free: 5.922 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02691/0.179, allocations: 6.701 MB / 0.6532 GB, free: 15.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.1791, allocations: 64 kB / 0.6533 GB, free: 15.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.1802, allocations: 0.7944 MB / 0.6541 GB, free: 14.31 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.1803, allocations: 37.7 kB / 0.6541 GB, free: 14.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.1807, allocations: 437 kB / 0.6545 GB, free: 13.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/0.181, allocations: 305.4 kB / 0.6548 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.1814, allocations: 178.6 kB / 0.655 GB, free: 13.35 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1815, allocations: 341.9 kB / 0.6553 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.183, allocations: 0.6425 MB / 0.656 GB, free: 12.37 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.1845, allocations: 0.7627 MB / 0.6567 GB, free: 11.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/0.2017, allocations: 4.442 MB / 0.661 GB, free: 7.094 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2017, allocations: 0 / 0.661 GB, free: 7.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01337/0.2151, allocations: 4.044 MB / 0.665 GB, free: 3.039 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2151, allocations: 7.938 kB / 0.665 GB, free: 3.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.2151, allocations: 4 kB / 0.665 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006322/0.2215, allocations: 1.866 MB / 0.6668 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/0.2223, allocations: 163.7 kB / 0.667 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/0.2442, allocations: 9.097 MB / 0.6759 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.2455, allocations: 155.3 kB / 0.676 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.2456, allocations: 32 kB / 0.676 GB, free: 7.57 MB / 494.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.0003956/0.246, allocations: 226.2 kB / 0.6763 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.2461, allocations: 107.3 kB / 0.6764 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.2591, allocations: 3.821 MB / 0.6801 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.2591, allocations: 8 kB / 0.6801 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2591, allocations: 3.984 kB / 0.6801 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.2591, allocations: 3.984 kB / 0.6801 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.2738, allocations: 5.322 MB / 0.6853 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.2738, allocations: 4 kB / 0.6853 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.2743, allocations: 95.77 kB / 0.6854 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005963/0.2803, allocations: 1.741 MB / 0.6871 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.2804, allocations: 19.98 kB / 0.6871 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/0.2995, allocations: 8.089 MB / 0.695 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2995, allocations: 3.938 kB / 0.695 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/0.3142, allocations: 4.686 MB / 0.6996 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.3145, allocations: 196.2 kB / 0.6998 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.3146, allocations: 16 kB / 0.6998 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008561/0.3155, allocations: 95.83 kB / 0.6999 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006124/0.3161, allocations: 200.6 kB / 0.7001 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.3162, allocations: 23.94 kB / 0.7001 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006638/0.3169, allocations: 0.5264 MB / 0.7006 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3169, allocations: 0 / 0.7006 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001036/0.3179, allocations: 407.7 kB / 0.701 GB, free: 13.64 MB / 0.5137 GB 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.01497/0.3329, allocations: 5.269 MB / 0.7061 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006348/0.3392, allocations: 2.302 MB / 0.7084 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3393, allocations: 0 / 0.7084 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004514/0.3438, allocations: 1.515 MB / 0.7099 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.3444, allocations: 79.3 kB / 0.7099 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2464/0.5908, allocations: 13.97 MB / 0.7236 GB, free: 85.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.5913, allocations: 1.027 MB / 0.7246 GB, free: 84.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002832/0.5916, allocations: 78.22 kB / 0.7247 GB, free: 84.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/0.592, allocations: 378.1 kB / 0.725 GB, free: 84.09 MB / 0.5137 GB Notification: Performance of SimCode: time 7.02e-07/0.592, allocations: 2.031 kB / 0.725 GB, free: 84.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05353/0.6455, allocations: 30.62 MB / 0.7549 GB, free: 64.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/14.99, allocations: 7.125 kB / 0.7549 GB, free: 64.58 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)