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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09129/0.09129, allocations: 12.78 MB / 29.8 MB, free: 6.461 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 115.5 kB / 35.58 MB, free: 1.207 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 207.6 MB / 248.9 MB, free: 10.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 191.4 kB / 303.8 MB, free: 5.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5183/0.5183, allocations: 79.71 MB / 438.3 MB, free: 4.004 MB / 302.1 MB " [Timeout remaining time 179] 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: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") [Timeout 660] "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.003856/0.003856, allocations: 144.9 kB / 0.5839 GB, free: 7.094 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1621, allocations: 72 MB / 0.6542 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01622/0.1783, allocations: 15.06 MB / 0.6689 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.1904, allocations: 4.605 MB / 0.6734 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00392/0.1943, allocations: 28 kB / 0.6735 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.1976, allocations: 0.779 MB / 0.6742 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009386/0.207, allocations: 2.566 MB / 0.6767 GB, free: 7.879 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004125/0.2111, allocations: 1.341 MB / 0.678 GB, free: 6.555 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009351/0.2204, allocations: 4.891 MB / 0.6828 GB, free: 1.648 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.2219, allocations: 0.5418 MB / 0.6833 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.2257, allocations: 1.879 MB / 0.6852 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00468/0.2304, allocations: 2.474 MB / 0.6876 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001817/0.2322, allocations: 404 kB / 0.688 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.2345, allocations: 0.6364 MB / 0.6886 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.2356, allocations: 0.9728 MB / 0.6896 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003009/0.2386, allocations: 2.009 MB / 0.6915 GB, free: 8.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007675/0.2463, allocations: 5.338 MB / 0.6967 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2463, allocations: 4 kB / 0.6967 GB, free: 3.305 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2463, allocations: 4 kB / 0.6967 GB, free: 3.301 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001941/0.2465, allocations: 0 / 0.6967 GB, free: 3.301 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.365/0.6115, allocations: 9.63 MB / 0.7061 GB, free: 39.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.75e-05/0.6115, allocations: 15.16 kB / 0.7062 GB, free: 39.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/0.6243, allocations: 1.772 MB / 0.7079 GB, free: 39.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006407/0.6307, allocations: 2.196 MB / 0.71 GB, free: 38.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/0.6317, allocations: 0.6675 MB / 0.7107 GB, free: 37.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00136/0.6331, allocations: 234.9 kB / 0.7109 GB, free: 37.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00727/0.6404, allocations: 2.687 MB / 0.7135 GB, free: 36.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.6404, allocations: 7.328 kB / 0.7135 GB, free: 36.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.6406, allocations: 75.47 kB / 0.7136 GB, free: 36.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.6407, allocations: 45.97 kB / 0.7137 GB, free: 36.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007367/0.648, allocations: 2.831 MB / 0.7164 GB, free: 35.73 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.02328/0.6713, allocations: 11.03 MB / 0.7272 GB, free: 27.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.6835, allocations: 4.753 MB / 0.7318 GB, free: 24.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004151/0.6877, allocations: 1.736 MB / 0.7335 GB, free: 23.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003242/0.688, allocations: 41.09 kB / 0.7336 GB, free: 23.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.688, allocations: 64.34 kB / 0.7336 GB, free: 23.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 4.448e-06/0.6881, allocations: 0 / 0.7336 GB, free: 23.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1206/0.8087, allocations: 29.48 MB / 0.7624 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/0.8088, allocations: 81.41 kB / 0.7625 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005645/0.8144, allocations: 2.911 MB / 0.7653 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/0.8156, allocations: 81.7 kB / 0.7654 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.817, allocations: 1.274 MB / 0.7667 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001864/0.8188, allocations: 0.9451 MB / 0.7676 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/0.8204, allocations: 0.7407 MB / 0.7683 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.8206, allocations: 305.1 kB / 0.7686 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005287/0.8259, allocations: 2.29 MB / 0.7708 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005724/0.8316, allocations: 2.677 MB / 0.7734 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.8426, allocations: 4.848 MB / 0.7782 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.8427, allocations: 4 kB / 0.7782 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01869/0.8613, allocations: 7.148 MB / 0.7852 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.8614, allocations: 11.94 kB / 0.7852 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.8614, allocations: 4 kB / 0.7852 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02089/0.8823, allocations: 5.733 MB / 0.7908 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004023/0.8863, allocations: 0.6593 MB / 0.7914 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/0.9023, allocations: 5.451 MB / 0.7967 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00637/0.9087, allocations: 0.5167 MB / 0.7972 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/0.9097, allocations: 136 kB / 0.7974 GB, free: 8.879 MB / 0.5294 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.001942/0.9116, allocations: 0.5439 MB / 0.7979 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001588/0.9132, allocations: 345.7 kB / 0.7982 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03767/0.9509, allocations: 10.43 MB / 0.8084 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/0.9509, allocations: 24 kB / 0.8084 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.9509, allocations: 4 kB / 0.8084 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-05/0.951, allocations: 15.89 kB / 0.8085 GB, free: 13.44 MB / 0.545 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.04641/0.9974, allocations: 14.55 MB / 0.8227 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/0.9975, allocations: 0 / 0.8227 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/0.9995, allocations: 251.7 kB / 0.8229 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01776/1.017, allocations: 4.769 MB / 0.8276 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007677/1.018, allocations: 48 kB / 0.8276 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05877/1.077, allocations: 21.49 MB / 0.8486 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.077, allocations: 8 kB / 0.8486 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04493/1.122, allocations: 12.73 MB / 0.861 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/1.124, allocations: 0.5177 MB / 0.8615 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/1.125, allocations: 44 kB / 0.8616 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003577/1.129, allocations: 247.7 kB / 0.8618 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002029/1.131, allocations: 0.5179 MB / 0.8623 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.131, allocations: 61.12 kB / 0.8624 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003453/1.134, allocations: 1.881 MB / 0.8642 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.134, allocations: 0 / 0.8642 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004843/1.139, allocations: 1.128 MB / 0.8653 GB, free: 2.684 MB / 0.5919 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.0005705/1.14, allocations: 186.9 kB / 0.8655 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0199/1.16, allocations: 5.759 MB / 0.8711 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.16, allocations: 0 / 0.8711 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01386/1.173, allocations: 3.61 MB / 0.8746 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/1.177, allocations: 270.1 kB / 0.8749 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/1.191, allocations: 6.44 MB / 0.8812 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/1.193, allocations: 1.845 MB / 0.883 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/1.195, allocations: 199.4 kB / 0.8832 GB, free: 280 kB / 0.6075 GB Notification: Performance of SimCode: time 1.242e-06/1.195, allocations: 4 kB / 0.8832 GB, free: 276 kB / 0.6075 GB Notification: Performance of Templates: time 0.09503/1.29, allocations: 56.07 MB / 0.9379 GB, free: 8.133 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile [Timeout 660] (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 & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.903060488868505] Failed to read output from testmodel.py, exit status != 0: 1.299544009147212 1.314348302 1.064743203 Calling exit ...