Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.001367/0.001367, allocations: 108.6 kB / 15.73 MB, free: 76 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.434/1.434, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001638/0.001638, allocations: 203.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5367/0.5367, allocations: 91.9 MB / 431.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 78.06 kB / 0.5722 GB, free: 33.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.119, allocations: 71.29 MB / 0.6418 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01515/0.1342, allocations: 14.98 MB / 0.6565 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00945/0.1437, allocations: 4.604 MB / 0.661 GB, free: 360 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.1463, allocations: 28 kB / 0.661 GB, free: 332 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.1483, allocations: 0.7793 MB / 0.6618 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005217/0.1536, allocations: 1.885 MB / 0.6636 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.1567, allocations: 1.416 MB / 0.665 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005851/0.1625, allocations: 4.528 MB / 0.6694 GB, free: 7.703 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.1637, allocations: 0.7918 MB / 0.6702 GB, free: 6.871 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.1661, allocations: 1.793 MB / 0.6719 GB, free: 5.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.1689, allocations: 2.381 MB / 0.6743 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006196/0.1695, allocations: 404 kB / 0.6746 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.1706, allocations: 0.6404 MB / 0.6753 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008023/0.1714, allocations: 0.9455 MB / 0.6762 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.1734, allocations: 1.978 MB / 0.6781 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005677/0.179, allocations: 5.272 MB / 0.6833 GB, free: 9.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1791, allocations: 0 / 0.6833 GB, free: 9.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.869e-06/0.1791, allocations: 0 / 0.6833 GB, free: 9.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001006/0.1792, allocations: 3.938 kB / 0.6833 GB, free: 9.406 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03192/0.2111, allocations: 8.283 MB / 0.6914 GB, free: 1.043 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.2112, allocations: 8.031 kB / 0.6914 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004922/0.2117, allocations: 282.5 kB / 0.6916 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.2231, allocations: 1.773 MB / 0.6934 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.2276, allocations: 2.201 MB / 0.6955 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008302/0.2284, allocations: 0.6624 MB / 0.6962 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/0.2292, allocations: 251.9 kB / 0.6964 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005965/0.2352, allocations: 2.685 MB / 0.699 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.2352, allocations: 0 / 0.699 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.2355, allocations: 76 kB / 0.6991 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.2355, allocations: 48 kB / 0.6991 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006156/0.2417, allocations: 2.826 MB / 0.7019 GB, free: 6.07 MB / 0.4981 GB 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.02003/0.2617, allocations: 11.02 MB / 0.7127 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.2743, allocations: 4.975 MB / 0.7175 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004326/0.2787, allocations: 1.931 MB / 0.7194 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.2789, allocations: 45.95 kB / 0.7195 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.279, allocations: 56.56 kB / 0.7195 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 4.468e-06/0.279, allocations: 0 / 0.7195 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1345/0.4135, allocations: 29.57 MB / 0.7484 GB, free: 5.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.4136, allocations: 77.41 kB / 0.7485 GB, free: 5.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005414/0.419, allocations: 2.906 MB / 0.7513 GB, free: 2.648 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008168/0.4199, allocations: 89.7 kB / 0.7514 GB, free: 2.555 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.4213, allocations: 1.266 MB / 0.7526 GB, free: 1.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001492/0.4228, allocations: 0.945 MB / 0.7535 GB, free: 332 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/0.4244, allocations: 0.7563 MB / 0.7543 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4246, allocations: 301.1 kB / 0.7546 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004996/0.4296, allocations: 2.28 MB / 0.7568 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005423/0.435, allocations: 2.673 MB / 0.7594 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/0.4453, allocations: 4.851 MB / 0.7641 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.4453, allocations: 0 / 0.7641 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.2783/0.7236, allocations: 7.24 MB / 0.7712 GB, free: 108 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.7237, allocations: 7.531 kB / 0.7712 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/0.7238, allocations: 5.188 kB / 0.7712 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02081/0.7446, allocations: 5.732 MB / 0.7768 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/0.7484, allocations: 0.6668 MB / 0.7775 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/0.7624, allocations: 5.452 MB / 0.7828 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/0.7673, allocations: 0.5111 MB / 0.7833 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007444/0.7681, allocations: 142.2 kB / 0.7834 GB, free: 107.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (410): * Single equations (assignments): 409 * 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 {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.001761/0.7699, allocations: 0.5195 MB / 0.7839 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/0.7709, allocations: 353.3 kB / 0.7843 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03116/0.8021, allocations: 10.53 MB / 0.7946 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.8022, allocations: 27.47 kB / 0.7946 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.8022, allocations: 0 / 0.7946 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.304e-05/0.8022, allocations: 11.44 kB / 0.7946 GB, free: 104.6 MB / 0.5606 GB 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 postOpt removeSimpleEquations (simulation): time 0.03694/0.8392, allocations: 14.63 MB / 0.8089 GB, free: 93.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/0.8393, allocations: 0 / 0.8089 GB, free: 93.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.8409, allocations: 259.6 kB / 0.8091 GB, free: 92.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01415/0.8551, allocations: 4.765 MB / 0.8138 GB, free: 88.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000612/0.8557, allocations: 48 kB / 0.8138 GB, free: 88.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04775/0.9035, allocations: 21.49 MB / 0.8348 GB, free: 66.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9035, allocations: 0 / 0.8348 GB, free: 66.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03545/0.939, allocations: 12.84 MB / 0.8474 GB, free: 53.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.9401, allocations: 0.5061 MB / 0.8478 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005946/0.9407, allocations: 44 kB / 0.8479 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/0.9434, allocations: 247.7 kB / 0.8481 GB, free: 52.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001621/0.9451, allocations: 0.528 MB / 0.8486 GB, free: 52.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/0.9453, allocations: 62.06 kB / 0.8487 GB, free: 52.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002075/0.9474, allocations: 1.877 MB / 0.8505 GB, free: 50.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9474, allocations: 0 / 0.8505 GB, free: 50.42 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002714/0.9501, allocations: 1.126 MB / 0.8516 GB, free: 49.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * 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 (156): * Single equations (assignments): 155 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03413/0.9842, allocations: 13.26 MB / 0.8646 GB, free: 35.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01512/0.9994, allocations: 6.16 MB / 0.8706 GB, free: 29.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9994, allocations: 0 / 0.8706 GB, free: 29.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009919/1.009, allocations: 3.807 MB / 0.8743 GB, free: 25.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.012, allocations: 264.1 kB / 0.8746 GB, free: 25.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07248/1.084, allocations: 37.04 MB / 0.9107 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/1.086, allocations: 1.845 MB / 0.9125 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001253/1.087, allocations: 288.9 kB / 0.9128 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/1.089, allocations: 1.394 MB / 0.9142 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/1.089, allocations: 0 / 0.9142 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.161/1.25, allocations: 89.63 MB / 1.002 GB, free: 7.129 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.08/20.33, allocations: 9.484 kB / 1.002 GB, free: 7.121 MB / 0.67 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 0.001 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)