Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008598/0.0008604, allocations: 177.6 kB / 15.45 MB, free: 6.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 223.3 MB / 239.5 MB, free: 15.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007174/0.0007176, allocations: 91.98 kB / 290.6 MB, free: 4.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4465/0.4465, allocations: 78.62 MB / 420.4 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 8 kB / 0.4888 GB, free: 6.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 69.36 MB / 0.5565 GB, free: 1.387 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01148/0.1327, allocations: 15.06 MB / 0.5712 GB, free: 2.262 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.2281/0.3608, allocations: 4.666 MB / 0.5758 GB, free: 31.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.3631, allocations: 34.28 kB / 0.5758 GB, free: 31.66 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.3646, allocations: 0.6155 MB / 0.5764 GB, free: 31.65 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005996/0.3706, allocations: 2.167 MB / 0.5785 GB, free: 31.44 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.373, allocations: 1.231 MB / 0.5797 GB, free: 31.41 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004595/0.3776, allocations: 4.606 MB / 0.5842 GB, free: 30.68 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000953/0.3786, allocations: 0.703 MB / 0.5849 GB, free: 30.49 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.3808, allocations: 1.61 MB / 0.5865 GB, free: 30.09 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.3829, allocations: 2.203 MB / 0.5886 GB, free: 29.6 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004468/0.3834, allocations: 185.5 kB / 0.5888 GB, free: 29.6 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009815/0.3844, allocations: 405.5 kB / 0.5892 GB, free: 29.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005466/0.3849, allocations: 0.7539 MB / 0.5899 GB, free: 29.4 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.3863, allocations: 1.786 MB / 0.5917 GB, free: 28.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004343/0.3907, allocations: 5.001 MB / 0.5966 GB, free: 27.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3907, allocations: 1.562 kB / 0.5966 GB, free: 27.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3907, allocations: 0 / 0.5966 GB, free: 27.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.988e-05/0.3908, allocations: 0 / 0.5966 GB, free: 27.94 MB / 442.7 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.03137/0.4222, allocations: 9.092 MB / 0.6054 GB, free: 25.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.4222, allocations: 9.719 kB / 0.6055 GB, free: 25.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.4324, allocations: 1.765 MB / 0.6072 GB, free: 25.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/0.4356, allocations: 2.168 MB / 0.6093 GB, free: 23.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005306/0.4362, allocations: 0.6947 MB / 0.61 GB, free: 23.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003723/0.4366, allocations: 243.4 kB / 0.6102 GB, free: 23.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004775/0.4414, allocations: 2.861 MB / 0.613 GB, free: 22.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.4414, allocations: 3.562 kB / 0.613 GB, free: 22.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.4416, allocations: 79.38 kB / 0.6131 GB, free: 22.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.4416, allocations: 48.84 kB / 0.6131 GB, free: 22.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005261/0.4469, allocations: 3.026 MB / 0.6161 GB, free: 21.09 MB / 442.7 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.01758/0.4645, allocations: 11.2 MB / 0.627 GB, free: 14.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.4755, allocations: 5.681 MB / 0.6326 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003755/0.4792, allocations: 2.106 MB / 0.6346 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.4795, allocations: 43.97 kB / 0.6347 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.4796, allocations: 60.66 kB / 0.6347 GB, free: 10.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 3.367e-06/0.4796, allocations: 0 / 0.6347 GB, free: 10.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1171/0.5967, allocations: 35.73 MB / 0.6696 GB, free: 11.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.5968, allocations: 81.41 kB / 0.6697 GB, free: 11.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004518/0.6013, allocations: 2.91 MB / 0.6725 GB, free: 8.875 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007544/0.6021, allocations: 81.7 kB / 0.6726 GB, free: 8.789 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009851/0.6031, allocations: 1.259 MB / 0.6738 GB, free: 7.535 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001129/0.6042, allocations: 0.8924 MB / 0.6747 GB, free: 6.648 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000512/0.6048, allocations: 394.6 kB / 0.6751 GB, free: 6.254 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.6048, allocations: 305.1 kB / 0.6754 GB, free: 5.953 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004678/0.6095, allocations: 2.464 MB / 0.6778 GB, free: 3.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004899/0.6144, allocations: 2.86 MB / 0.6806 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0093/0.6238, allocations: 5.208 MB / 0.6857 GB, free: 11.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.6238, allocations: 4 kB / 0.6857 GB, free: 11.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01521/0.639, allocations: 7.767 MB / 0.6932 GB, free: 3.457 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.6391, allocations: 8.688 kB / 0.6933 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.6391, allocations: 6.344 kB / 0.6933 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01901/0.6581, allocations: 6.564 MB / 0.6997 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/0.6615, allocations: 0.6593 MB / 0.7003 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/0.6759, allocations: 6.158 MB / 0.7063 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005594/0.6815, allocations: 0.5977 MB / 0.7069 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008721/0.6824, allocations: 140 kB / 0.707 GB, free: 5.297 MB / 0.4948 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.002149/0.6845, allocations: 0.5252 MB / 0.7076 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/0.6858, allocations: 335.7 kB / 0.7079 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0351/0.7209, allocations: 12.87 MB / 0.7204 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.721, allocations: 24 kB / 0.7205 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.721, allocations: 0 / 0.7205 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-05/0.721, allocations: 13.27 kB / 0.7205 GB, free: 7.457 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.04322/0.7643, allocations: 17.01 MB / 0.7371 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/0.7643, allocations: 3.938 kB / 0.7371 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/0.7659, allocations: 259.6 kB / 0.7373 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01606/0.782, allocations: 5.581 MB / 0.7428 GB, free: 388 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005998/0.7827, allocations: 44 kB / 0.7428 GB, free: 344 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05153/0.8342, allocations: 22.03 MB / 0.7643 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.8342, allocations: 6.125 kB / 0.7644 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03967/0.8739, allocations: 15.33 MB / 0.7793 GB, free: 10.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.8753, allocations: 0.4962 MB / 0.7798 GB, free: 10.21 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/0.8765, allocations: 55.92 kB / 0.7799 GB, free: 10.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003599/0.8801, allocations: 343.7 kB / 0.7802 GB, free: 9.824 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002018/0.8822, allocations: 0.506 MB / 0.7807 GB, free: 9.316 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004349/0.8826, allocations: 60 kB / 0.7807 GB, free: 9.258 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003405/0.8861, allocations: 1.881 MB / 0.7826 GB, free: 7.387 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8861, allocations: 0 / 0.7826 GB, free: 7.387 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00444/0.8905, allocations: 1.128 MB / 0.7837 GB, free: 6.258 MB / 0.573 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.0007296/0.8913, allocations: 175 kB / 0.7838 GB, free: 6.078 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2288/1.12, allocations: 6.824 MB / 0.7905 GB, free: 180 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/1.12, allocations: 1.344 kB / 0.7905 GB, free: 180 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01111/1.131, allocations: 4.268 MB / 0.7947 GB, free: 179.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/1.134, allocations: 266.7 kB / 0.7949 GB, free: 179.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.145, allocations: 7.759 MB / 0.8025 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/1.146, allocations: 1.844 MB / 0.8043 GB, free: 175 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001642/1.148, allocations: 290.5 kB / 0.8046 GB, free: 174.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/1.148, allocations: 181.6 kB / 0.8048 GB, free: 174.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.012e-06/1.148, allocations: 0 / 0.8048 GB, free: 174.9 MB / 0.573 GB Notification: Performance of Templates: time 0.08011/1.229, allocations: 54 MB / 0.8575 GB, free: 153.1 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)