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.08287/0.08287, allocations: 12.6 MB / 28.1 MB, free: 184 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.001099/0.001099, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.451/1.451, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001292/0.001292, allocations: 180.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4853/0.4853, allocations: 78.5 MB / 419.2 MB, free: 11.34 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.002982/0.002982, allocations: 147.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.329, allocations: 68.11 MB / 0.5547 GB, free: 32.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01272/0.3418, allocations: 15.01 MB / 0.5693 GB, free: 20.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.352, allocations: 4.584 MB / 0.5738 GB, free: 17.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005101/0.3571, allocations: 27.09 kB / 0.5738 GB, free: 17.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002928/0.3601, allocations: 0.7761 MB / 0.5746 GB, free: 16.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008312/0.3685, allocations: 2.414 MB / 0.577 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.3719, allocations: 1.329 MB / 0.5783 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007817/0.3797, allocations: 4.867 MB / 0.583 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.3816, allocations: 0.7918 MB / 0.5838 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003132/0.3848, allocations: 1.879 MB / 0.5856 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003458/0.3883, allocations: 2.459 MB / 0.588 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001617/0.3899, allocations: 404 kB / 0.5884 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.3925, allocations: 0.6287 MB / 0.589 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.3941, allocations: 0.9689 MB / 0.59 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003351/0.3974, allocations: 2.009 MB / 0.5919 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00832/0.4058, allocations: 5.279 MB / 0.5971 GB, free: 11.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.4058, allocations: 0 / 0.5971 GB, free: 11.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.4058, allocations: 4 kB / 0.5971 GB, free: 11.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002248/0.4061, allocations: 0 / 0.5971 GB, free: 11.95 MB / 414.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.04189/0.448, allocations: 9.511 MB / 0.6064 GB, free: 2.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.448, allocations: 11.98 kB / 0.6064 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001046/0.4491, allocations: 286.5 kB / 0.6067 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/0.4612, allocations: 1.751 MB / 0.6084 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005748/0.467, allocations: 2.175 MB / 0.6105 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000935/0.468, allocations: 0.6702 MB / 0.6111 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/0.4692, allocations: 243.8 kB / 0.6114 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008164/0.4774, allocations: 2.682 MB / 0.614 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.887e-05/0.4775, allocations: 0 / 0.614 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005619/0.4781, allocations: 80 kB / 0.6141 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/0.4781, allocations: 48 kB / 0.6141 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007259/0.4854, allocations: 2.834 MB / 0.6169 GB, free: 7.418 MB / 430.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.02411/0.5096, allocations: 11.06 MB / 0.6277 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/0.5227, allocations: 4.975 MB / 0.6325 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004736/0.5275, allocations: 1.931 MB / 0.6344 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/0.528, allocations: 37.95 kB / 0.6345 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.336e-05/0.5281, allocations: 64.48 kB / 0.6345 GB, free: 4.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 6.573e-06/0.5281, allocations: 8 kB / 0.6345 GB, free: 4.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1307/0.6588, allocations: 29.54 MB / 0.6634 GB, free: 6.969 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.659, allocations: 77.41 kB / 0.6635 GB, free: 6.883 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00596/0.6649, allocations: 2.906 MB / 0.6663 GB, free: 3.977 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009922/0.666, allocations: 77.7 kB / 0.6664 GB, free: 3.895 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.6675, allocations: 1.26 MB / 0.6676 GB, free: 2.621 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001877/0.6694, allocations: 0.9013 MB / 0.6685 GB, free: 1.707 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003149/0.6726, allocations: 0.7405 MB / 0.6692 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6727, allocations: 309.1 kB / 0.6695 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005688/0.6784, allocations: 2.281 MB / 0.6717 GB, free: 14.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006127/0.6845, allocations: 2.683 MB / 0.6743 GB, free: 11.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/0.6957, allocations: 4.851 MB / 0.6791 GB, free: 6.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/0.6957, allocations: 4 kB / 0.6791 GB, free: 6.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01875/0.7145, allocations: 7.22 MB / 0.6861 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.7145, allocations: 8 kB / 0.6861 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.7146, allocations: 4 kB / 0.6861 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02055/0.7351, allocations: 5.741 MB / 0.6918 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/0.7389, allocations: 0.6632 MB / 0.6924 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/0.7546, allocations: 5.446 MB / 0.6977 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/0.7597, allocations: 0.5079 MB / 0.6982 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007897/0.7605, allocations: 140 kB / 0.6983 GB, free: 2.863 MB / 0.4981 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.001907/0.7624, allocations: 0.5284 MB / 0.6989 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/0.7636, allocations: 335.7 kB / 0.6992 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03705/0.8007, allocations: 10.51 MB / 0.7095 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/0.8008, allocations: 27.94 kB / 0.7095 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.8008, allocations: 0 / 0.7095 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/0.8009, allocations: 15.94 kB / 0.7095 GB, free: 7.355 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.2571/1.058, allocations: 14.65 MB / 0.7238 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/1.058, allocations: 1.062 kB / 0.7238 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/1.06, allocations: 261.6 kB / 0.7241 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01568/1.075, allocations: 4.776 MB / 0.7287 GB, free: 135.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006062/1.076, allocations: 44.72 kB / 0.7288 GB, free: 135.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05242/1.128, allocations: 21.49 MB / 0.7497 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.129, allocations: 0 / 0.7497 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03839/1.167, allocations: 12.82 MB / 0.7623 GB, free: 116.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.168, allocations: 495.6 kB / 0.7627 GB, free: 115.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/1.17, allocations: 47.98 kB / 0.7628 GB, free: 115.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00392/1.173, allocations: 251.7 kB / 0.763 GB, free: 115.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002431/1.176, allocations: 0.5101 MB / 0.7635 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006054/1.177, allocations: 63.98 kB / 0.7636 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003552/1.18, allocations: 1.881 MB / 0.7654 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.1e-07/1.18, allocations: 4 kB / 0.7654 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006496/1.187, allocations: 1.133 MB / 0.7665 GB, free: 111.8 MB / 0.5137 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.03982/1.226, allocations: 13.22 MB / 0.7794 GB, free: 98.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01973/1.246, allocations: 6.23 MB / 0.7855 GB, free: 92.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.246, allocations: 0 / 0.7855 GB, free: 92.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01184/1.258, allocations: 3.793 MB / 0.7892 GB, free: 88.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/1.263, allocations: 263.3 kB / 0.7895 GB, free: 88.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08704/1.35, allocations: 43.27 MB / 0.8317 GB, free: 41.76 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/1.351, allocations: 1.845 MB / 0.8335 GB, free: 39.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001709/1.353, allocations: 292.9 kB / 0.8338 GB, free: 39.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/1.355, allocations: 1.394 MB / 0.8352 GB, free: 38.21 MB / 0.5137 GB Notification: Performance of SimCode: time 2.375e-06/1.355, allocations: 0 / 0.8352 GB, free: 38.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1475/1.503, allocations: 88.6 MB / 0.9217 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.98, allocations: 7.234 kB / 0.9217 GB, free: 13.68 MB / 0.5762 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)