Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.07474/0.07474, allocations: 12.59 MB / 28.22 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.001131/0.001131, allocations: 111.4 kB / 31.84 MB, free: 3.898 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.254/1.254, allocations: 205.1 MB / 240.4 MB, free: 12.35 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.001368/0.001368, allocations: 180.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4179/0.4179, allocations: 78.52 MB / 419.3 MB, free: 11.24 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.003582/0.003582, allocations: 148.1 kB / 0.5554 GB, free: 28.9 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1099, allocations: 68.14 MB / 0.6219 GB, free: 16 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006341/0.1163, allocations: 5.789 MB / 0.6276 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.1192, allocations: 1.713 MB / 0.6292 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.1195, allocations: 12 kB / 0.6293 GB, free: 8.461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.1199, allocations: 194.3 kB / 0.6294 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.1213, allocations: 0.6869 MB / 0.6301 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1223, allocations: 0.5611 MB / 0.6307 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.1236, allocations: 1.253 MB / 0.6319 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.124, allocations: 271.1 kB / 0.6321 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005814/0.1246, allocations: 0.529 MB / 0.6327 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007031/0.1253, allocations: 0.6377 MB / 0.6333 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.1255, allocations: 88 kB / 0.6334 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.1259, allocations: 223.9 kB / 0.6336 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.1261, allocations: 242.9 kB / 0.6338 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.1266, allocations: 0.5553 MB / 0.6344 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.1279, allocations: 1.358 MB / 0.6357 GB, free: 1.855 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1279, allocations: 0 / 0.6357 GB, free: 1.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.128, allocations: 0 / 0.6357 GB, free: 1.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.128, allocations: 0 / 0.6357 GB, free: 1.855 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007089/0.1351, allocations: 2.383 MB / 0.638 GB, free: 15.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1351, allocations: 15.92 kB / 0.638 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.1353, allocations: 114.5 kB / 0.6381 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004664/0.1399, allocations: 0.768 MB / 0.6389 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.141, allocations: 0.7175 MB / 0.6396 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.1413, allocations: 252 kB / 0.6398 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.1414, allocations: 72 kB / 0.6399 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.1434, allocations: 0.9559 MB / 0.6408 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1435, allocations: 3.984 kB / 0.6408 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.1435, allocations: 24 kB / 0.6409 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.1436, allocations: 16 kB / 0.6409 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.1457, allocations: 0.976 MB / 0.6418 GB, free: 11.41 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.005123/0.1508, allocations: 3.174 MB / 0.6449 GB, free: 8.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.1529, allocations: 1.297 MB / 0.6462 GB, free: 6.672 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.1544, allocations: 0.7038 MB / 0.6469 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-05/0.1545, allocations: 8.656 kB / 0.6469 GB, free: 5.961 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1545, allocations: 43.22 kB / 0.6469 GB, free: 5.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 3.818e-06/0.1545, allocations: 3.984 kB / 0.6469 GB, free: 5.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.02712/0.1816, allocations: 6.771 MB / 0.6535 GB, free: 15.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.1817, allocations: 67.98 kB / 0.6536 GB, free: 15.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.1827, allocations: 0.7948 MB / 0.6544 GB, free: 14.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.615e-05/0.1829, allocations: 41.7 kB / 0.6544 GB, free: 14.15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.1832, allocations: 437 kB / 0.6548 GB, free: 13.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/0.1835, allocations: 309.3 kB / 0.6551 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.1839, allocations: 186.9 kB / 0.6553 GB, free: 13.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1841, allocations: 341.9 kB / 0.6556 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.1856, allocations: 0.6506 MB / 0.6563 GB, free: 12.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.1872, allocations: 0.7756 MB / 0.657 GB, free: 11.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/0.2045, allocations: 4.492 MB / 0.6614 GB, free: 6.895 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2045, allocations: 4 kB / 0.6614 GB, free: 6.891 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01334/0.2178, allocations: 4.122 MB / 0.6654 GB, free: 2.758 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2179, allocations: 8 kB / 0.6655 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2179, allocations: 4 kB / 0.6655 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006229/0.2241, allocations: 1.788 MB / 0.6672 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007567/0.2249, allocations: 163.7 kB / 0.6674 GB, free: 0.793 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/0.2472, allocations: 9.321 MB / 0.6765 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.2485, allocations: 155.3 kB / 0.6766 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.963e-05/0.2486, allocations: 43.98 kB / 0.6766 GB, free: 7.125 MB / 494.1 MB 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.0004466/0.2491, allocations: 229.5 kB / 0.6769 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.2493, allocations: 107.3 kB / 0.677 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.2624, allocations: 3.829 MB / 0.6807 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.2625, allocations: 8 kB / 0.6807 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2625, allocations: 0 / 0.6807 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.2625, allocations: 7.969 kB / 0.6807 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.2775, allocations: 5.357 MB / 0.686 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.2776, allocations: 0 / 0.686 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.278, allocations: 95.83 kB / 0.686 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005974/0.284, allocations: 1.741 MB / 0.6877 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-05/0.2841, allocations: 16 kB / 0.6878 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/0.3035, allocations: 8.081 MB / 0.6957 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3036, allocations: 0 / 0.6957 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/0.3183, allocations: 4.705 MB / 0.7003 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.3187, allocations: 204.2 kB / 0.7004 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.3188, allocations: 16 kB / 0.7005 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008911/0.3197, allocations: 87.89 kB / 0.7005 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006263/0.3204, allocations: 200.7 kB / 0.7007 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/0.3204, allocations: 16 kB / 0.7008 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007123/0.3211, allocations: 0.5422 MB / 0.7013 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3212, allocations: 0 / 0.7013 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001087/0.3222, allocations: 411.7 kB / 0.7017 GB, free: 13.12 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.01502/0.3373, allocations: 5.296 MB / 0.7068 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00643/0.3437, allocations: 2.341 MB / 0.7091 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3438, allocations: 0 / 0.7091 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004527/0.3483, allocations: 1.511 MB / 0.7106 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.3489, allocations: 83.27 kB / 0.7107 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2457/0.5947, allocations: 14.18 MB / 0.7245 GB, free: 85.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.5952, allocations: 1.028 MB / 0.7255 GB, free: 84.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.5955, allocations: 82.88 kB / 0.7256 GB, free: 84.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.5959, allocations: 364.9 kB / 0.726 GB, free: 84.32 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.5959, allocations: 3.906 kB / 0.726 GB, free: 84.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05595/0.6519, allocations: 31.08 MB / 0.7563 GB, free: 63.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.13, allocations: 9.281 kB / 0.7563 GB, free: 63.54 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)