Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.007965/0.007965, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.3/1.3, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.0012/0.0012, allocations: 196.4 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4917/0.4917, allocations: 91.9 MB / 431.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 81.5 kB / 0.5723 GB, free: 33.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1122, allocations: 71.28 MB / 0.6419 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005746/0.118, allocations: 5.771 MB / 0.6475 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.121, allocations: 1.732 MB / 0.6492 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.1217, allocations: 16 kB / 0.6492 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.1222, allocations: 202.2 kB / 0.6494 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.1241, allocations: 0.737 MB / 0.6501 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.1253, allocations: 0.5509 MB / 0.6507 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001364/0.1267, allocations: 1.249 MB / 0.6519 GB, free: 9.848 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.1271, allocations: 275.4 kB / 0.6521 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000633/0.1277, allocations: 0.5251 MB / 0.6526 GB, free: 9.039 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.1284, allocations: 0.6377 MB / 0.6533 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.1285, allocations: 88 kB / 0.6534 GB, free: 8.312 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.1289, allocations: 231.9 kB / 0.6536 GB, free: 8.086 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.1291, allocations: 246.8 kB / 0.6538 GB, free: 7.844 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.1295, allocations: 0.5436 MB / 0.6543 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.1308, allocations: 1.358 MB / 0.6557 GB, free: 5.934 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1308, allocations: 3.984 kB / 0.6557 GB, free: 5.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1308, allocations: 4 kB / 0.6557 GB, free: 5.926 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.1308, allocations: 0 / 0.6557 GB, free: 5.926 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006923/0.1378, allocations: 2.379 MB / 0.658 GB, free: 3.492 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1378, allocations: 8.031 kB / 0.658 GB, free: 3.484 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.1379, allocations: 118.4 kB / 0.6581 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004727/0.1427, allocations: 0.768 MB / 0.6589 GB, free: 2.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.1438, allocations: 0.7213 MB / 0.6596 GB, free: 1.828 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.1441, allocations: 252.1 kB / 0.6598 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.1442, allocations: 64 kB / 0.6599 GB, free: 1.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.1461, allocations: 0.9598 MB / 0.6608 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1462, allocations: 0 / 0.6608 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.1463, allocations: 36 kB / 0.6608 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.1463, allocations: 16 kB / 0.6609 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.1483, allocations: 0.9682 MB / 0.6618 GB, free: 15.5 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.00492/0.1532, allocations: 3.17 MB / 0.6649 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.1552, allocations: 1.308 MB / 0.6662 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.1565, allocations: 0.7038 MB / 0.6669 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.1566, allocations: 12.64 kB / 0.6669 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1567, allocations: 39.22 kB / 0.6669 GB, free: 9.977 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/0.1567, allocations: 0 / 0.6669 GB, free: 9.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.02598/0.1827, allocations: 6.771 MB / 0.6735 GB, free: 3.172 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.1828, allocations: 64 kB / 0.6736 GB, free: 3.098 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.1838, allocations: 0.7948 MB / 0.6744 GB, free: 2.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.184, allocations: 41.7 kB / 0.6744 GB, free: 2.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.1843, allocations: 445 kB / 0.6748 GB, free: 1.789 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.1846, allocations: 301.4 kB / 0.6751 GB, free: 1.492 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.1849, allocations: 186.8 kB / 0.6753 GB, free: 1.301 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.185, allocations: 345.9 kB / 0.6756 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.1865, allocations: 0.6507 MB / 0.6763 GB, free: 316 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.1879, allocations: 0.7718 MB / 0.677 GB, free: 15.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/0.2047, allocations: 4.5 MB / 0.6814 GB, free: 10.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.2048, allocations: 4 kB / 0.6814 GB, free: 10.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01267/0.2174, allocations: 4.122 MB / 0.6854 GB, free: 6.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.2175, allocations: 7.984 kB / 0.6854 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.2175, allocations: 4 kB / 0.6855 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005924/0.2234, allocations: 1.787 MB / 0.6872 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/0.2242, allocations: 167.7 kB / 0.6874 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.245, allocations: 9.34 MB / 0.6965 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.2462, allocations: 155.3 kB / 0.6966 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.264e-05/0.2463, allocations: 35.98 kB / 0.6967 GB, free: 11.18 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003842/0.2467, allocations: 221.6 kB / 0.6969 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.2469, allocations: 107.3 kB / 0.697 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/0.2589, allocations: 3.84 MB / 0.7007 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.259, allocations: 8 kB / 0.7007 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.259, allocations: 0 / 0.7007 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.259, allocations: 3.984 kB / 0.7007 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.2728, allocations: 5.353 MB / 0.706 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.2729, allocations: 3.984 kB / 0.706 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.2733, allocations: 87.83 kB / 0.706 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005635/0.279, allocations: 1.745 MB / 0.7078 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.058e-05/0.2791, allocations: 12 kB / 0.7078 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/0.2972, allocations: 8.069 MB / 0.7156 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2973, allocations: 7.875 kB / 0.7157 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/0.3113, allocations: 4.709 MB / 0.7203 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.3117, allocations: 192.2 kB / 0.7204 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.3118, allocations: 20 kB / 0.7205 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/0.3127, allocations: 91.89 kB / 0.7205 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005813/0.3133, allocations: 200.7 kB / 0.7207 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.3134, allocations: 27.98 kB / 0.7208 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007133/0.3141, allocations: 0.5343 MB / 0.7213 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3141, allocations: 0 / 0.7213 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001098/0.3152, allocations: 411.7 kB / 0.7217 GB, free: 1.188 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.01436/0.3296, allocations: 5.296 MB / 0.7268 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006265/0.3359, allocations: 2.326 MB / 0.7291 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.3359, allocations: 0.5625 kB / 0.7291 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004397/0.3403, allocations: 1.514 MB / 0.7306 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.3411, allocations: 83.27 kB / 0.7307 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03386/0.3749, allocations: 14.18 MB / 0.7445 GB, free: 9.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.3755, allocations: 1.041 MB / 0.7455 GB, free: 8.469 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003273/0.3759, allocations: 78.17 kB / 0.7456 GB, free: 8.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/0.3763, allocations: 371.3 kB / 0.746 GB, free: 8.027 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.3763, allocations: 0 / 0.746 GB, free: 8.027 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3312/0.7075, allocations: 31.07 MB / 0.7763 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.59, allocations: 5.312 kB / 0.7763 GB, free: 119.9 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)