Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001306/0.001306, allocations: 124.9 kB / 17.17 MB, free: 5.918 MB / 14.72 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 1.412/1.412, allocations: 230.6 MB / 250.5 MB, free: 9.203 MB / 206.1 MB " [Timeout remaining time 178] 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.001575/0.001575, allocations: 217.2 kB / 306.7 MB, free: 4.285 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4632/0.4632, allocations: 79.71 MB / 442.5 MB, free: 164 kB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 84.23 kB / 0.5885 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1455, allocations: 73.27 MB / 0.66 GB, free: 8.227 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.0161/0.1616, allocations: 15.02 MB / 0.6747 GB, free: 9.133 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1722, allocations: 4.662 MB / 0.6793 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.1751, allocations: 28 kB / 0.6793 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.1777, allocations: 0.7712 MB / 0.68 GB, free: 3.648 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008462/0.1861, allocations: 2.587 MB / 0.6826 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.1898, allocations: 1.319 MB / 0.6839 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007457/0.1973, allocations: 4.906 MB / 0.6886 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.1987, allocations: 0.5301 MB / 0.6892 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.202, allocations: 1.934 MB / 0.6911 GB, free: 8.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/0.2059, allocations: 2.482 MB / 0.6935 GB, free: 5.848 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.2072, allocations: 404 kB / 0.6939 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.2092, allocations: 0.6287 MB / 0.6945 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001544/0.2108, allocations: 0.9729 MB / 0.6954 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003451/0.2142, allocations: 2.013 MB / 0.6974 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3043/0.5185, allocations: 5.354 MB / 0.7026 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.5186, allocations: 1.688 kB / 0.7026 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5186, allocations: 3.438 kB / 0.7026 GB, free: 15.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002103/0.5188, allocations: 0 / 0.7026 GB, free: 15.99 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.04391/0.5627, allocations: 9.633 MB / 0.712 GB, free: 13.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.5627, allocations: 10.16 kB / 0.712 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.31e-05/0.5628, allocations: 47.84 kB / 0.7121 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006848/0.5635, allocations: 283.9 kB / 0.7124 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.5759, allocations: 1.772 MB / 0.7141 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/0.5815, allocations: 2.191 MB / 0.7162 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008479/0.5824, allocations: 0.6747 MB / 0.7169 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/0.5837, allocations: 232.5 kB / 0.7171 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007335/0.591, allocations: 2.686 MB / 0.7197 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-05/0.5911, allocations: 0 / 0.7197 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002768/0.5913, allocations: 75.12 kB / 0.7198 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.5914, allocations: 50.12 kB / 0.7199 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006661/0.598, allocations: 2.833 MB / 0.7226 GB, free: 12.34 MB / 494.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.02118/0.6192, allocations: 11.02 MB / 0.7334 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/0.6315, allocations: 4.76 MB / 0.738 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004491/0.636, allocations: 1.736 MB / 0.7397 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00041/0.6364, allocations: 43.11 kB / 0.7398 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.6365, allocations: 58.91 kB / 0.7398 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 5.39e-06/0.6365, allocations: 0 / 0.7398 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1321/0.7686, allocations: 29.48 MB / 0.7686 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.7687, allocations: 81.41 kB / 0.7687 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005764/0.7744, allocations: 2.914 MB / 0.7715 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001055/0.7755, allocations: 77.7 kB / 0.7716 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.7769, allocations: 1.27 MB / 0.7729 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00178/0.7787, allocations: 0.9436 MB / 0.7738 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001988/0.7807, allocations: 0.7446 MB / 0.7745 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.7808, allocations: 306.2 kB / 0.7748 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005585/0.7864, allocations: 2.284 MB / 0.777 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006492/0.7929, allocations: 2.676 MB / 0.7796 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/0.8058, allocations: 4.853 MB / 0.7844 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.946e-05/0.8059, allocations: 4 kB / 0.7844 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02171/0.8276, allocations: 7.151 MB / 0.7914 GB, free: 13.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.8276, allocations: 8 kB / 0.7914 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.8276, allocations: 4 kB / 0.7914 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02135/0.849, allocations: 5.736 MB / 0.797 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/0.8528, allocations: 0.6639 MB / 0.7976 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/0.8697, allocations: 5.448 MB / 0.8029 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005922/0.8756, allocations: 0.5167 MB / 0.8035 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/0.8766, allocations: 136 kB / 0.8036 GB, free: 1.004 MB / 0.545 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.002547/0.8792, allocations: 0.5332 MB / 0.8041 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001578/0.8808, allocations: 349.7 kB / 0.8044 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03936/0.9201, allocations: 10.44 MB / 0.8146 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/0.9202, allocations: 27.98 kB / 0.8147 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.9202, allocations: 4 kB / 0.8147 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.004e-05/0.9203, allocations: 11.95 kB / 0.8147 GB, free: 5.684 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.04866/0.9689, allocations: 14.54 MB / 0.8289 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-05/0.9689, allocations: 0 / 0.8289 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/0.9708, allocations: 256.4 kB / 0.8291 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01834/0.9891, allocations: 4.761 MB / 0.8338 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008931/0.99, allocations: 51.98 kB / 0.8338 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06451/1.055, allocations: 21.49 MB / 0.8548 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.055, allocations: 4 kB / 0.8548 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04496/1.099, allocations: 12.75 MB / 0.8673 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/1.101, allocations: 0.5061 MB / 0.8677 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001495/1.103, allocations: 44 kB / 0.8678 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004154/1.107, allocations: 247.7 kB / 0.868 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002391/1.109, allocations: 0.5253 MB / 0.8685 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005882/1.11, allocations: 60 kB / 0.8686 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00402/1.114, allocations: 1.877 MB / 0.8704 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/1.114, allocations: 0 / 0.8704 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005406/1.119, allocations: 1.132 MB / 0.8715 GB, free: 11.21 MB / 0.6231 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.0455/1.165, allocations: 13.17 MB / 0.8844 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02053/1.185, allocations: 5.765 MB / 0.89 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.185, allocations: 0 / 0.89 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01374/1.199, allocations: 3.621 MB / 0.8936 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/1.203, allocations: 259.4 kB / 0.8938 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.103/1.306, allocations: 36.87 MB / 0.9298 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/1.309, allocations: 1.845 MB / 0.9316 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001922/1.311, allocations: 284.9 kB / 0.9319 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002917/1.314, allocations: 1.394 MB / 0.9333 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of SimCode: time 7.01e-07/1.314, allocations: 0 / 0.9333 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4519/1.765, allocations: 90.65 MB / 1.022 GB, free: 242.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.25/21.02, allocations: 8.859 kB / 1.022 GB, free: 242.4 MB / 0.7169 GB " [Timeout remaining time 639] (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.42721429798985] Failed to read output from testmodel.py, exit status != 0: 21.217098205001093 21.227297533 20.706221366 Calling exit ...