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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008295/0.0008295, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8444/0.8444, allocations: 177.1 MB / 199.4 MB, free: 5.91 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 156.6 kB / 256 MB, free: 13.31 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2569/0.2569, allocations: 80.37 MB / 392.7 MB, free: 2.352 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5549 GB, free: 12.61 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.368e-05, allocations: 4.953 kB / 0.5549 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.008091/0.008115, allocations: 12.81 MB / 0.5674 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005905/0.01402, allocations: 4.495 MB / 0.5718 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.01509, allocations: 24 kB / 0.5719 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.01617, allocations: 0.7788 MB / 0.5726 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002616/0.01879, allocations: 2.061 MB / 0.5746 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.02041, allocations: 1.432 MB / 0.576 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002696/0.02311, allocations: 4.659 MB / 0.5806 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005326/0.02364, allocations: 0.5072 MB / 0.5811 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.02531, allocations: 2.603 MB / 0.5836 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.02662, allocations: 1.932 MB / 0.5855 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003264/0.02695, allocations: 404 kB / 0.5859 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000584/0.02753, allocations: 0.5819 MB / 0.5865 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004626/0.028, allocations: 0.9648 MB / 0.5874 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0007974/0.02879, allocations: 1.343 MB / 0.5887 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00309/0.03188, allocations: 5.432 MB / 0.594 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.03189, allocations: 0 / 0.594 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.92e-07/0.03189, allocations: 0 / 0.594 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.734e-05/0.03192, allocations: 0 / 0.594 GB, free: 4.422 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.1999/0.2318, allocations: 8.183 MB / 0.602 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2318, allocations: 10.28 kB / 0.602 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002366/0.2321, allocations: 283.4 kB / 0.6023 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004832/0.2369, allocations: 1.766 MB / 0.604 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.2388, allocations: 2.122 MB / 0.6061 GB, free: 89.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003311/0.2391, allocations: 0.8172 MB / 0.6069 GB, free: 88.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/0.2394, allocations: 239.3 kB / 0.6071 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/0.2424, allocations: 2.694 MB / 0.6097 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.2424, allocations: 0 / 0.6097 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.2426, allocations: 86.88 kB / 0.6098 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.2426, allocations: 46.53 kB / 0.6099 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003845/0.2464, allocations: 2.834 MB / 0.6126 GB, free: 86.72 MB / 0.5105 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.009518/0.256, allocations: 7.983 MB / 0.6204 GB, free: 82.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006113/0.2621, allocations: 3.885 MB / 0.6242 GB, free: 81.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002229/0.2643, allocations: 1.744 MB / 0.6259 GB, free: 81.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.2645, allocations: 40.39 kB / 0.626 GB, free: 81.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2645, allocations: 59.39 kB / 0.626 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=253): time 3.507e-06/0.2645, allocations: 0 / 0.626 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=253): time 0.0508/0.3153, allocations: 25.35 MB / 0.6508 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3153, allocations: 77.41 kB / 0.6508 GB, free: 64.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/0.3176, allocations: 2.913 MB / 0.6537 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002664/0.3179, allocations: 85.7 kB / 0.6538 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/0.3183, allocations: 1.268 MB / 0.655 GB, free: 60.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005124/0.3188, allocations: 0.9489 MB / 0.6559 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007915/0.3196, allocations: 0.7408 MB / 0.6567 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.166e-05/0.3196, allocations: 313.1 kB / 0.657 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/0.3221, allocations: 2.284 MB / 0.6592 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.3247, allocations: 2.685 MB / 0.6618 GB, free: 53.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005007/0.3297, allocations: 4.871 MB / 0.6666 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.3297, allocations: 4.562 kB / 0.6666 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.008016/0.3377, allocations: 7.149 MB / 0.6736 GB, free: 41.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3377, allocations: 15.88 kB / 0.6736 GB, free: 41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.3377, allocations: 8 kB / 0.6736 GB, free: 40.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008875/0.3466, allocations: 5.721 MB / 0.6792 GB, free: 35.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.348, allocations: 0.671 MB / 0.6798 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006687/0.3547, allocations: 5.444 MB / 0.6851 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.3565, allocations: 0.5167 MB / 0.6856 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.3567, allocations: 140 kB / 0.6858 GB, free: 28.46 MB / 0.5105 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 (414): * Single equations (assignments): 413 * 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.0007269/0.3574, allocations: 0.5284 MB / 0.6863 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.3577, allocations: 361.6 kB / 0.6866 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/0.3736, allocations: 10.45 MB / 0.6968 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.3736, allocations: 24 kB / 0.6969 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3736, allocations: 4 kB / 0.6969 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.3736, allocations: 11.95 kB / 0.6969 GB, free: 17.01 MB / 0.5105 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.01821/0.3918, allocations: 13.08 MB / 0.7097 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3918, allocations: 4 kB / 0.7097 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000733/0.3926, allocations: 263.6 kB / 0.7099 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007385/0.4, allocations: 4.753 MB / 0.7145 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.4001, allocations: 51.98 kB / 0.7146 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03014/0.4302, allocations: 20.82 MB / 0.7349 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4302, allocations: 0 / 0.7349 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02178/0.452, allocations: 12.81 MB / 0.7474 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008964/0.4529, allocations: 445.1 kB / 0.7479 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/0.4532, allocations: 44 kB / 0.7479 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.4546, allocations: 251.5 kB / 0.7481 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00115/0.4557, allocations: 0.5411 MB / 0.7487 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.4559, allocations: 67.98 kB / 0.7487 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001983/0.4578, allocations: 1.877 MB / 0.7506 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4578, allocations: 0 / 0.7506 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001866/0.4597, allocations: 1.132 MB / 0.7517 GB, free: 8.566 MB / 0.5573 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 (160): * Single equations (assignments): 159 * 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.02075/0.4805, allocations: 13.24 MB / 0.7646 GB, free: 11.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009089/0.4895, allocations: 5.784 MB / 0.7703 GB, free: 5.391 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4896, allocations: 0 / 0.7703 GB, free: 5.391 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005823/0.4954, allocations: 3.608 MB / 0.7738 GB, free: 1.766 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.4968, allocations: 281.4 kB / 0.7741 GB, free: 1.488 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04137/0.5381, allocations: 34.95 MB / 0.8082 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007706/0.5389, allocations: 1.298 MB / 0.8095 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006311/0.5395, allocations: 297.2 kB / 0.8097 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.5407, allocations: 1.398 MB / 0.8111 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.5407, allocations: 4 kB / 0.8111 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.246/0.7867, allocations: 93.7 MB / 0.9026 GB, free: 170.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.68, allocations: 10.81 kB / 0.9026 GB, free: 170.7 MB / 0.6355 GB " [Timeout remaining time 648] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.275972423143685] Failed to read output from testmodel.py, exit status != 0: 11.810384972020984 11.814518932 11.781461806 Calling exit ...