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.09589/0.09589, allocations: 12.78 MB / 32.26 MB, free: 6.156 MB / 26.18 MB " [Timeout remaining time 180] 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.001371/0.001371, allocations: 107.6 kB / 38.36 MB, free: 0.7695 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.797/1.797, allocations: 207.6 MB / 252 MB, free: 2.75 MB / 190.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.002011/0.002011, allocations: 220.3 kB / 307.3 MB, free: 11.25 MB / 254.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.5174/0.5174, allocations: 79.7 MB / 442.2 MB, free: 11.22 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004535/0.004535, allocations: 140.5 kB / 0.5893 GB, free: 88 kB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4065, allocations: 72.05 MB / 0.6597 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01054/0.4171, allocations: 12.75 MB / 0.6721 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.4277, allocations: 4.391 MB / 0.6764 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.4311, allocations: 28 kB / 0.6764 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.434, allocations: 0.779 MB / 0.6772 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.444, allocations: 2.541 MB / 0.6797 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.4482, allocations: 1.328 MB / 0.681 GB, free: 5.773 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008498/0.4567, allocations: 4.91 MB / 0.6858 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.4583, allocations: 0.5344 MB / 0.6863 GB, free: 284 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004403/0.4627, allocations: 1.93 MB / 0.6882 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005256/0.468, allocations: 2.474 MB / 0.6906 GB, free: 11.85 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002014/0.47, allocations: 407.9 kB / 0.691 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.4731, allocations: 0.5935 MB / 0.6915 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0024/0.4755, allocations: 0.9729 MB / 0.6925 GB, free: 9.887 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004025/0.4795, allocations: 1.644 MB / 0.6941 GB, free: 8.234 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008908/0.4884, allocations: 5.371 MB / 0.6993 GB, free: 2.848 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4884, allocations: 3.938 kB / 0.6994 GB, free: 2.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.247e-06/0.4884, allocations: 0 / 0.6994 GB, free: 2.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002528/0.4887, allocations: 0 / 0.6994 GB, free: 2.844 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.04337/0.532, allocations: 9.558 MB / 0.7087 GB, free: 9.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.5321, allocations: 12.03 kB / 0.7087 GB, free: 9.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.5444, allocations: 1.765 MB / 0.7104 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00568/0.55, allocations: 2.105 MB / 0.7125 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/0.5511, allocations: 0.8208 MB / 0.7133 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.5525, allocations: 243.9 kB / 0.7135 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008829/0.5613, allocations: 2.682 MB / 0.7161 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.104e-05/0.5614, allocations: 0 / 0.7161 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004898/0.5618, allocations: 80 kB / 0.7162 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/0.5619, allocations: 52 kB / 0.7163 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00747/0.5694, allocations: 2.834 MB / 0.719 GB, free: 14.45 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.02242/0.5918, allocations: 7.958 MB / 0.7268 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.6046, allocations: 3.861 MB / 0.7306 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004815/0.6095, allocations: 1.739 MB / 0.7323 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.6098, allocations: 33.98 kB / 0.7323 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.079e-05/0.6099, allocations: 60.56 kB / 0.7324 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 4.749e-06/0.6099, allocations: 0 / 0.7324 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.1378/0.7478, allocations: 29.39 MB / 0.7611 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.7479, allocations: 81.39 kB / 0.7611 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007912/0.7558, allocations: 2.906 MB / 0.764 GB, free: 220 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00124/0.757, allocations: 81.7 kB / 0.764 GB, free: 132 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001922/0.759, allocations: 1.278 MB / 0.7653 GB, free: 14.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002218/0.7612, allocations: 0.9412 MB / 0.7662 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003647/0.7648, allocations: 0.7485 MB / 0.7669 GB, free: 13.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.765, allocations: 305.1 kB / 0.7672 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006601/0.7716, allocations: 2.284 MB / 0.7695 GB, free: 10.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007141/0.7787, allocations: 2.676 MB / 0.7721 GB, free: 7.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/0.7918, allocations: 4.851 MB / 0.7768 GB, free: 2.836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.81e-05/0.7919, allocations: 7.938 kB / 0.7768 GB, free: 2.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02237/0.8142, allocations: 7.144 MB / 0.7838 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.8143, allocations: 8 kB / 0.7838 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.8143, allocations: 4 kB / 0.7838 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02258/0.8369, allocations: 5.725 MB / 0.7894 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/0.8409, allocations: 0.667 MB / 0.7901 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/0.8577, allocations: 5.45 MB / 0.7954 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005493/0.8632, allocations: 0.5129 MB / 0.7959 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009816/0.8641, allocations: 136 kB / 0.796 GB, free: 15.14 MB / 0.5762 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.00248/0.8666, allocations: 0.5284 MB / 0.7965 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/0.8681, allocations: 353.7 kB / 0.7969 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03903/0.9071, allocations: 10.43 MB / 0.807 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.44e-05/0.9072, allocations: 31.94 kB / 0.8071 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.9072, allocations: 3.938 kB / 0.8071 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.077e-05/0.9073, allocations: 11.95 kB / 0.8071 GB, free: 3.699 MB / 0.5762 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.3794/1.287, allocations: 13.01 MB / 0.8198 GB, free: 130.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/1.287, allocations: 0 / 0.8198 GB, free: 130.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/1.289, allocations: 260.1 kB / 0.8201 GB, free: 130.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0156/1.304, allocations: 4.76 MB / 0.8247 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006687/1.305, allocations: 51.56 kB / 0.8247 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05209/1.357, allocations: 20.82 MB / 0.8451 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.357, allocations: 0 / 0.8451 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03653/1.394, allocations: 12.76 MB / 0.8575 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/1.395, allocations: 435 kB / 0.858 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007147/1.395, allocations: 48 kB / 0.858 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/1.398, allocations: 247.7 kB / 0.8582 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001727/1.4, allocations: 0.5411 MB / 0.8588 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/1.4, allocations: 64.86 kB / 0.8588 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00225/1.403, allocations: 1.877 MB / 0.8607 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.403, allocations: 0 / 0.8607 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002975/1.406, allocations: 1.129 MB / 0.8618 GB, free: 99.95 MB / 0.5762 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.0003914/1.406, allocations: 188.6 kB / 0.8619 GB, free: 99.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0161/1.422, allocations: 5.761 MB / 0.8676 GB, free: 93.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.422, allocations: 0 / 0.8676 GB, free: 93.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0113/1.433, allocations: 3.616 MB / 0.8711 GB, free: 90.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/1.437, allocations: 266.6 kB / 0.8714 GB, free: 90.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.449, allocations: 6.409 MB / 0.8776 GB, free: 83.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.45, allocations: 1.302 MB / 0.8789 GB, free: 82.37 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001494/1.452, allocations: 284.9 kB / 0.8792 GB, free: 82.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.453, allocations: 187.4 kB / 0.8793 GB, free: 81.91 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/1.453, allocations: 0 / 0.8793 GB, free: 81.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.0865/1.539, allocations: 64.33 MB / 0.9422 GB, free: 17.57 MB / 0.5762 GB " [Timeout remaining time 658] 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.415496802015696] Failed to read output from testmodel.py, exit status != 0: 1.5496315319905989 1.558430279 1.0674424200000001 Calling exit ...