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.1325/0.1325, allocations: 12.6 MB / 28.23 MB, free: 88 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 111.4 kB / 31.83 MB, free: 3.41 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.31/1.31, 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.00142/0.00142, allocations: 183.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.4361/0.4361, allocations: 78.52 MB / 419.3 MB, free: 11.26 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.002571/0.002571, allocations: 139.8 kB / 0.5554 GB, free: 28.78 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1262, allocations: 68.13 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006454/0.1327, allocations: 5.804 MB / 0.6276 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.1363, allocations: 1.705 MB / 0.6292 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008821/0.1373, allocations: 16 kB / 0.6293 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006514/0.138, allocations: 202.2 kB / 0.6295 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.1398, allocations: 0.727 MB / 0.6302 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.141, allocations: 0.5626 MB / 0.6307 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.1425, allocations: 1.245 MB / 0.6319 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000486/0.143, allocations: 271.2 kB / 0.6322 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000749/0.1437, allocations: 0.529 MB / 0.6327 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007472/0.1445, allocations: 0.6416 MB / 0.6333 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.1446, allocations: 88 kB / 0.6334 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.1451, allocations: 227.9 kB / 0.6336 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.1453, allocations: 238.9 kB / 0.6339 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000465/0.1458, allocations: 0.5475 MB / 0.6344 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.1472, allocations: 1.358 MB / 0.6357 GB, free: 1.703 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1472, allocations: 0 / 0.6357 GB, free: 1.703 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.1473, allocations: 0 / 0.6357 GB, free: 1.703 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.1473, allocations: 7.938 kB / 0.6357 GB, free: 1.695 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.007613/0.1549, allocations: 2.383 MB / 0.6381 GB, free: 15.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.155, allocations: 11.98 kB / 0.6381 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.1551, allocations: 114.5 kB / 0.6382 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.1601, allocations: 0.7641 MB / 0.6389 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.1614, allocations: 0.7175 MB / 0.6396 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/0.1617, allocations: 252.1 kB / 0.6399 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.1618, allocations: 68 kB / 0.6399 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.1639, allocations: 0.9559 MB / 0.6409 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.164, allocations: 0 / 0.6409 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.865e-05/0.164, allocations: 28 kB / 0.6409 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.1641, allocations: 23.94 kB / 0.6409 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.1662, allocations: 0.9759 MB / 0.6419 GB, free: 11.26 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.005167/0.1714, allocations: 3.17 MB / 0.645 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.1734, allocations: 1.301 MB / 0.6462 GB, free: 6.516 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.1748, allocations: 0.7038 MB / 0.6469 GB, free: 5.812 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.584e-05/0.1749, allocations: 12.64 kB / 0.6469 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.175, allocations: 43.22 kB / 0.647 GB, free: 5.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 2.555e-06/0.175, allocations: 0 / 0.647 GB, free: 5.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.02723/0.2022, allocations: 6.771 MB / 0.6536 GB, free: 14.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.2023, allocations: 64 kB / 0.6536 GB, free: 14.87 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.2035, allocations: 0.7987 MB / 0.6544 GB, free: 14.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.2036, allocations: 41.7 kB / 0.6545 GB, free: 14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.204, allocations: 433 kB / 0.6549 GB, free: 13.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.2044, allocations: 317.3 kB / 0.6552 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/0.2048, allocations: 178.9 kB / 0.6553 GB, free: 13.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2049, allocations: 345.9 kB / 0.6557 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.2064, allocations: 0.6545 MB / 0.6563 GB, free: 12.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.208, allocations: 0.7678 MB / 0.6571 GB, free: 11.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/0.2264, allocations: 4.496 MB / 0.6615 GB, free: 6.738 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.2265, allocations: 0 / 0.6615 GB, free: 6.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01488/0.2414, allocations: 4.129 MB / 0.6655 GB, free: 2.598 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.2414, allocations: 4 kB / 0.6655 GB, free: 2.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.2415, allocations: 4 kB / 0.6655 GB, free: 2.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006552/0.248, allocations: 1.788 MB / 0.6672 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.249, allocations: 167.7 kB / 0.6674 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/0.2715, allocations: 9.329 MB / 0.6765 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.2729, allocations: 151.3 kB / 0.6767 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.2731, allocations: 39.98 kB / 0.6767 GB, free: 6.965 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.0004925/0.2736, allocations: 225.6 kB / 0.6769 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.2739, allocations: 111.3 kB / 0.677 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/0.287, allocations: 3.829 MB / 0.6808 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.2871, allocations: 12 kB / 0.6808 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2871, allocations: 0 / 0.6808 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.2871, allocations: 3.984 kB / 0.6808 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.3022, allocations: 5.357 MB / 0.686 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.3022, allocations: 0 / 0.686 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/0.3028, allocations: 87.89 kB / 0.6861 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006126/0.3089, allocations: 1.745 MB / 0.6878 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.3091, allocations: 19.98 kB / 0.6878 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/0.3283, allocations: 8.077 MB / 0.6957 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3284, allocations: 4 kB / 0.6957 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/0.3433, allocations: 4.717 MB / 0.7003 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.3437, allocations: 192.2 kB / 0.7005 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.3439, allocations: 12 kB / 0.7005 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.345, allocations: 95.89 kB / 0.7006 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005938/0.3456, allocations: 196.7 kB / 0.7008 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/0.3457, allocations: 20 kB / 0.7008 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000722/0.3464, allocations: 0.5421 MB / 0.7013 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3464, allocations: 0 / 0.7013 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001308/0.3477, allocations: 407.7 kB / 0.7017 GB, free: 12.96 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.01515/0.3629, allocations: 5.285 MB / 0.7069 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006835/0.3698, allocations: 2.349 MB / 0.7092 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3698, allocations: 0 / 0.7092 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004839/0.3746, allocations: 1.516 MB / 0.7107 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009245/0.3756, allocations: 80.06 kB / 0.7107 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2895/0.6651, allocations: 14.18 MB / 0.7246 GB, free: 85.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.6657, allocations: 1.034 MB / 0.7256 GB, free: 84.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003456/0.6661, allocations: 76.62 kB / 0.7257 GB, free: 84.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004446/0.6665, allocations: 367.4 kB / 0.726 GB, free: 84.08 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/0.6665, allocations: 0 / 0.726 GB, free: 84.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05698/0.7235, allocations: 31.09 MB / 0.7564 GB, free: 63.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/15.8, allocations: 17.06 kB / 0.7564 GB, free: 63.13 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)