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.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/Complex 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009569, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.3 MB / 239 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000938/0.0009377, allocations: 180.5 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4723/0.4723, allocations: 91.92 MB / 433.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 12 kB / 0.5042 GB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2976, allocations: 72.46 MB / 0.5749 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.009056/0.3067, allocations: 14.02 MB / 0.5886 GB, free: 26.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007203/0.3139, allocations: 4.462 MB / 0.593 GB, free: 23.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.3162, allocations: 32.47 kB / 0.593 GB, free: 23.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.3176, allocations: 0.5385 MB / 0.5935 GB, free: 23.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003899/0.3215, allocations: 1.511 MB / 0.595 GB, free: 22.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.3238, allocations: 1.18 MB / 0.5962 GB, free: 21.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004663/0.3285, allocations: 4.018 MB / 0.6001 GB, free: 19.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.3296, allocations: 0.6626 MB / 0.6007 GB, free: 19.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.3316, allocations: 1.485 MB / 0.6022 GB, free: 18.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.3337, allocations: 2.055 MB / 0.6042 GB, free: 17.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004976/0.3342, allocations: 186.2 kB / 0.6044 GB, free: 17.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.3353, allocations: 403.4 kB / 0.6048 GB, free: 17.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004702/0.3358, allocations: 0.7089 MB / 0.6054 GB, free: 17.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006617/0.3364, allocations: 0.6015 MB / 0.606 GB, free: 16.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.3402, allocations: 4.02 MB / 0.61 GB, free: 15.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3402, allocations: 0 / 0.61 GB, free: 15.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3402, allocations: 0 / 0.61 GB, free: 15.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001385/0.3404, allocations: 0 / 0.61 GB, free: 15.71 MB / 430.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.02674/0.3671, allocations: 7.741 MB / 0.6175 GB, free: 13.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3672, allocations: 9.938 kB / 0.6175 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.3782, allocations: 1.764 MB / 0.6193 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/0.3832, allocations: 2.057 MB / 0.6213 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007041/0.384, allocations: 0.6977 MB / 0.6219 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.385, allocations: 238.8 kB / 0.6222 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006676/0.3917, allocations: 2.846 MB / 0.6249 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.3917, allocations: 0.8125 kB / 0.6249 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.392, allocations: 80.03 kB / 0.625 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.392, allocations: 50.5 kB / 0.6251 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005743/0.3977, allocations: 3.02 MB / 0.628 GB, free: 7.301 MB / 430.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.0163/0.4141, allocations: 11.18 MB / 0.6389 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/0.4255, allocations: 5.67 MB / 0.6445 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003886/0.4294, allocations: 2.109 MB / 0.6465 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.4297, allocations: 37.95 kB / 0.6466 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.4298, allocations: 60.56 kB / 0.6466 GB, free: 3.484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.298e-06/0.4298, allocations: 4 kB / 0.6466 GB, free: 3.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1196/0.5493, allocations: 35.42 MB / 0.6812 GB, free: 15.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.5494, allocations: 77.41 kB / 0.6813 GB, free: 15.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004755/0.5542, allocations: 2.882 MB / 0.6841 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006658/0.5549, allocations: 85.7 kB / 0.6842 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.5561, allocations: 1.26 MB / 0.6854 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001431/0.5576, allocations: 0.8896 MB / 0.6863 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000598/0.5582, allocations: 84 kB / 0.6864 GB, free: 10.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002643/0.5584, allocations: 466.9 kB / 0.6868 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/0.5634, allocations: 2.441 MB / 0.6892 GB, free: 7.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005205/0.5686, allocations: 2.838 MB / 0.692 GB, free: 4.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005271/0.5739, allocations: 2.64 MB / 0.6946 GB, free: 2.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.5739, allocations: 3.953 kB / 0.6946 GB, free: 2.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01596/0.5899, allocations: 7.69 MB / 0.7021 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.59, allocations: 8 kB / 0.7021 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.59, allocations: 8.062 kB / 0.7021 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01826/0.6082, allocations: 6.503 MB / 0.7084 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/0.6116, allocations: 0.6632 MB / 0.7091 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.6257, allocations: 6.142 MB / 0.7151 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/0.6307, allocations: 0.5977 MB / 0.7157 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007231/0.6314, allocations: 140 kB / 0.7158 GB, free: 12.38 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.001851/0.6333, allocations: 0.5331 MB / 0.7163 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/0.6343, allocations: 331.7 kB / 0.7166 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03431/0.6686, allocations: 12.85 MB / 0.7292 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/0.6687, allocations: 24 kB / 0.7292 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.6687, allocations: 4 kB / 0.7292 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.084e-05/0.6688, allocations: 11.95 kB / 0.7292 GB, free: 14.55 MB / 0.5294 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.04137/0.7102, allocations: 16.97 MB / 0.7458 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.7102, allocations: 3.938 kB / 0.7458 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/0.7119, allocations: 259.7 kB / 0.746 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01537/0.7272, allocations: 5.577 MB / 0.7515 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004684/0.7277, allocations: 48 kB / 0.7515 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04848/0.7762, allocations: 22 MB / 0.773 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7763, allocations: 0 / 0.773 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2518/1.028, allocations: 15.32 MB / 0.788 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.029, allocations: 0.4919 MB / 0.7885 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006124/1.03, allocations: 47.12 kB / 0.7885 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002647/1.033, allocations: 339.8 kB / 0.7888 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001507/1.034, allocations: 0.5182 MB / 0.7893 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/1.034, allocations: 63.25 kB / 0.7894 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002433/1.037, allocations: 1.851 MB / 0.7912 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.037, allocations: 1.25 kB / 0.7912 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003271/1.04, allocations: 1.128 MB / 0.7923 GB, free: 163.8 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004074/1.04, allocations: 175.2 kB / 0.7925 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01587/1.056, allocations: 6.809 MB / 0.7991 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.056, allocations: 1.031 kB / 0.7991 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01053/1.067, allocations: 4.264 MB / 0.8033 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/1.07, allocations: 268.3 kB / 0.8035 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.08, allocations: 7.389 MB / 0.8108 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009604/1.081, allocations: 1.848 MB / 0.8126 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001205/1.082, allocations: 291.3 kB / 0.8128 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/1.083, allocations: 172.1 kB / 0.813 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/1.083, allocations: 0 / 0.813 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.05927/1.142, allocations: 52.34 MB / 0.8641 GB, free: 107.5 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)