Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.09071/0.09071, allocations: 12.59 MB / 28.23 MB, free: 0.7695 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.001173/0.001173, allocations: 111.4 kB / 31.84 MB, free: 3.906 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.412/1.412, 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.001635/0.001635, allocations: 192.4 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.4806/0.4806, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.002543/0.002543, allocations: 134.6 kB / 0.5554 GB, free: 29.06 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.143, allocations: 68.14 MB / 0.6219 GB, free: 56 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01483/0.1579, allocations: 15.01 MB / 0.6366 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009966/0.1679, allocations: 4.581 MB / 0.641 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00345/0.1714, allocations: 28 kB / 0.6411 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.1741, allocations: 0.7831 MB / 0.6418 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009039/0.1832, allocations: 2.563 MB / 0.6443 GB, free: 9.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003755/0.187, allocations: 1.333 MB / 0.6456 GB, free: 7.703 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007996/0.195, allocations: 4.899 MB / 0.6504 GB, free: 2.789 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.1969, allocations: 0.7957 MB / 0.6512 GB, free: 1.953 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003535/0.2005, allocations: 1.887 MB / 0.653 GB, free: 60 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003914/0.2044, allocations: 2.451 MB / 0.6554 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001646/0.2061, allocations: 404 kB / 0.6558 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.2085, allocations: 0.6326 MB / 0.6564 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001763/0.2103, allocations: 0.9728 MB / 0.6574 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003792/0.2141, allocations: 2.005 MB / 0.6593 GB, free: 9.578 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008935/0.223, allocations: 5.346 MB / 0.6646 GB, free: 4.211 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2231, allocations: 0 / 0.6646 GB, free: 4.211 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2231, allocations: 0 / 0.6646 GB, free: 4.211 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000254/0.2234, allocations: 0 / 0.6646 GB, free: 4.211 MB / 478.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.04031/0.2637, allocations: 9.641 MB / 0.674 GB, free: 10.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.2638, allocations: 11.98 kB / 0.674 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004099/0.2642, allocations: 286.5 kB / 0.6743 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.2753, allocations: 1.765 MB / 0.676 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004276/0.2797, allocations: 2.193 MB / 0.6781 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007689/0.2805, allocations: 0.6702 MB / 0.6788 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005474/0.281, allocations: 239.9 kB / 0.679 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005775/0.2868, allocations: 2.685 MB / 0.6816 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.2869, allocations: 0 / 0.6816 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.2871, allocations: 83.98 kB / 0.6817 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.2872, allocations: 48 kB / 0.6818 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006166/0.2933, allocations: 2.826 MB / 0.6845 GB, free: 15.52 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.01955/0.3129, allocations: 11.03 MB / 0.6953 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.3247, allocations: 4.971 MB / 0.7001 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004234/0.329, allocations: 1.931 MB / 0.702 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/0.3294, allocations: 41.95 kB / 0.7021 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.3294, allocations: 56.56 kB / 0.7021 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 3.917e-06/0.3295, allocations: 0 / 0.7021 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.4938/0.8233, allocations: 29.56 MB / 0.731 GB, free: 77.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.8234, allocations: 88.98 kB / 0.7311 GB, free: 77.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005026/0.8284, allocations: 2.905 MB / 0.7339 GB, free: 76.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009712/0.8294, allocations: 84.64 kB / 0.734 GB, free: 76.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.8304, allocations: 1.273 MB / 0.7352 GB, free: 75.47 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.8317, allocations: 0.946 MB / 0.7362 GB, free: 74.78 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/0.8331, allocations: 0.7461 MB / 0.7369 GB, free: 74.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.88e-05/0.8332, allocations: 301.1 kB / 0.7372 GB, free: 74.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004337/0.8375, allocations: 2.283 MB / 0.7394 GB, free: 72.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004455/0.842, allocations: 2.679 MB / 0.742 GB, free: 71.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008784/0.8508, allocations: 4.853 MB / 0.7468 GB, free: 68.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.8508, allocations: 0 / 0.7468 GB, free: 68.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01475/0.8656, allocations: 7.247 MB / 0.7538 GB, free: 63.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.8657, allocations: 8 kB / 0.7538 GB, free: 63.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.8657, allocations: 8 kB / 0.7539 GB, free: 63.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01753/0.8832, allocations: 5.737 MB / 0.7595 GB, free: 57.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/0.8868, allocations: 0.6631 MB / 0.7601 GB, free: 57.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/0.9004, allocations: 5.449 MB / 0.7654 GB, free: 51.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006194/0.9066, allocations: 0.519 MB / 0.7659 GB, free: 51.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009299/0.9076, allocations: 140 kB / 0.7661 GB, free: 51.15 MB / 0.5137 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.002576/0.9102, allocations: 0.5251 MB / 0.7666 GB, free: 50.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/0.9115, allocations: 349.7 kB / 0.7669 GB, free: 50.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03264/0.9441, allocations: 10.52 MB / 0.7772 GB, free: 39.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/0.9442, allocations: 27.94 kB / 0.7772 GB, free: 39.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.9443, allocations: 3.938 kB / 0.7772 GB, free: 39.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.996e-05/0.9443, allocations: 11.95 kB / 0.7772 GB, free: 39.64 MB / 0.5137 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.04038/0.9847, allocations: 14.63 MB / 0.7915 GB, free: 24.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/0.9848, allocations: 0 / 0.7915 GB, free: 24.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.9865, allocations: 259.6 kB / 0.7918 GB, free: 24.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01527/1.002, allocations: 4.765 MB / 0.7964 GB, free: 19.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007791/1.003, allocations: 48 kB / 0.7965 GB, free: 19.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05388/1.056, allocations: 21.48 MB / 0.8174 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.057, allocations: 12.86 kB / 0.8175 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04272/1.099, allocations: 12.83 MB / 0.83 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/1.101, allocations: 0.5103 MB / 0.8305 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001572/1.103, allocations: 48 kB / 0.8305 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004201/1.107, allocations: 247.7 kB / 0.8308 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002356/1.109, allocations: 0.5179 MB / 0.8313 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005893/1.11, allocations: 63.94 kB / 0.8313 GB, free: 15.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00435/1.114, allocations: 1.881 MB / 0.8332 GB, free: 14.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.21e-07/1.114, allocations: 0 / 0.8332 GB, free: 14.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005842/1.12, allocations: 1.121 MB / 0.8343 GB, free: 12.94 MB / 0.545 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.04281/1.163, allocations: 13.26 MB / 0.8472 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02108/1.184, allocations: 6.156 MB / 0.8532 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.184, allocations: 0 / 0.8532 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01281/1.197, allocations: 3.806 MB / 0.8569 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004662/1.202, allocations: 268.8 kB / 0.8572 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1007/1.302, allocations: 37.06 MB / 0.8934 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/1.305, allocations: 1.841 MB / 0.8952 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001958/1.307, allocations: 292.9 kB / 0.8955 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002774/1.309, allocations: 1.394 MB / 0.8968 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of SimCode: time 1.453e-06/1.309, allocations: 0 / 0.8968 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4685/1.778, allocations: 89.61 MB / 0.9843 GB, free: 230.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.23/21.01, allocations: 7.266 kB / 0.9843 GB, free: 230.7 MB / 0.67 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)