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.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.0.1/package.mo", uses=false) 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.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_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001627/0.001627, allocations: 112.6 kB / 16.37 MB, free: 6 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.437/1.437, allocations: 222.9 MB / 240 MB, free: 4.531 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.00149/0.00149, allocations: 180.5 kB / 290.3 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4914/0.4914, allocations: 78.53 MB / 419 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 75.88 kB / 498.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1481, allocations: 68.18 MB / 0.5538 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2808/0.429, allocations: 14.96 MB / 0.5684 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008309/0.4373, allocations: 4.607 MB / 0.5729 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/0.4403, allocations: 26.75 kB / 0.5729 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.4428, allocations: 0.7757 MB / 0.5737 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00699/0.4498, allocations: 2.41 MB / 0.576 GB, free: 27.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.4529, allocations: 1.332 MB / 0.5773 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006296/0.4592, allocations: 4.892 MB / 0.5821 GB, free: 26.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.4607, allocations: 0.8009 MB / 0.5829 GB, free: 26.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/0.4636, allocations: 1.886 MB / 0.5847 GB, free: 25.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.4666, allocations: 2.449 MB / 0.5871 GB, free: 23.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008936/0.4675, allocations: 401.2 kB / 0.5875 GB, free: 23.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.4692, allocations: 0.6332 MB / 0.5881 GB, free: 23.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007023/0.47, allocations: 0.9693 MB / 0.5891 GB, free: 23.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.4719, allocations: 2.008 MB / 0.591 GB, free: 21.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005484/0.4774, allocations: 5.328 MB / 0.5962 GB, free: 19.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4774, allocations: 0 / 0.5962 GB, free: 19.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4774, allocations: 0 / 0.5962 GB, free: 19.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001402/0.4776, allocations: 1.062 kB / 0.5962 GB, free: 19.55 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.0404/0.518, allocations: 9.513 MB / 0.6055 GB, free: 16.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.5181, allocations: 9.906 kB / 0.6055 GB, free: 16.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/0.5301, allocations: 1.749 MB / 0.6072 GB, free: 16.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005655/0.5358, allocations: 2.174 MB / 0.6094 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007937/0.5366, allocations: 0.6655 MB / 0.61 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007051/0.5373, allocations: 247.1 kB / 0.6102 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006745/0.5441, allocations: 2.684 MB / 0.6129 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.5442, allocations: 0.7969 kB / 0.6129 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.5444, allocations: 76.25 kB / 0.6129 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/0.5445, allocations: 46.22 kB / 0.613 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00665/0.5511, allocations: 2.836 MB / 0.6158 GB, free: 12.07 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.02023/0.5714, allocations: 11 MB / 0.6265 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.582, allocations: 4.974 MB / 0.6314 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004065/0.5861, allocations: 1.931 MB / 0.6332 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.5864, allocations: 41.95 kB / 0.6333 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.5864, allocations: 61.38 kB / 0.6333 GB, free: 12.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 3.676e-06/0.5864, allocations: 0 / 0.6333 GB, free: 12.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1191/0.7056, allocations: 29.56 MB / 0.6622 GB, free: 14.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.7057, allocations: 77.41 kB / 0.6623 GB, free: 14.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005115/0.7108, allocations: 2.898 MB / 0.6651 GB, free: 12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001321/0.7122, allocations: 85.7 kB / 0.6652 GB, free: 11.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.7135, allocations: 1.256 MB / 0.6664 GB, free: 10.64 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001557/0.7151, allocations: 0.8975 MB / 0.6673 GB, free: 9.727 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/0.7166, allocations: 0.7521 MB / 0.668 GB, free: 8.961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7167, allocations: 305.1 kB / 0.6683 GB, free: 8.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004703/0.7214, allocations: 2.281 MB / 0.6705 GB, free: 6.371 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004957/0.7264, allocations: 2.677 MB / 0.6732 GB, free: 3.602 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009408/0.7358, allocations: 4.847 MB / 0.6779 GB, free: 14.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.7359, allocations: 7.938 kB / 0.6779 GB, free: 14.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01745/0.7533, allocations: 7.224 MB / 0.685 GB, free: 7.422 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/0.7534, allocations: 8 kB / 0.685 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.7535, allocations: 7.938 kB / 0.685 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01901/0.7725, allocations: 5.734 MB / 0.6906 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/0.7762, allocations: 0.6652 MB / 0.6912 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/0.7907, allocations: 5.454 MB / 0.6965 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006091/0.7968, allocations: 0.504 MB / 0.697 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009589/0.7978, allocations: 136.8 kB / 0.6972 GB, free: 10.88 MB / 0.4981 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.002148/0.7999, allocations: 0.5207 MB / 0.6977 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/0.8014, allocations: 335.7 kB / 0.698 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03313/0.8345, allocations: 10.53 MB / 0.7083 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/0.8346, allocations: 27.94 kB / 0.7083 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.8346, allocations: 0 / 0.7083 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-05/0.8347, allocations: 11.95 kB / 0.7083 GB, free: 15.38 MB / 0.5137 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.03913/0.8738, allocations: 14.62 MB / 0.7226 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-05/0.8739, allocations: 3.984 kB / 0.7226 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/0.8756, allocations: 259.6 kB / 0.7228 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01568/0.8913, allocations: 4.765 MB / 0.7275 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007152/0.8921, allocations: 55.92 kB / 0.7275 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05411/0.9462, allocations: 21.45 MB / 0.7485 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.9463, allocations: 0 / 0.7485 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03904/0.9853, allocations: 12.81 MB / 0.761 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/0.9869, allocations: 0.4923 MB / 0.7615 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007557/0.9877, allocations: 44 kB / 0.7615 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/0.9907, allocations: 250.5 kB / 0.7618 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001774/0.9924, allocations: 0.5217 MB / 0.7623 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/0.9927, allocations: 65.11 kB / 0.7623 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002668/0.9953, allocations: 1.873 MB / 0.7642 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9954, allocations: 0 / 0.7642 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003518/0.9989, allocations: 1.132 MB / 0.7653 GB, free: 4.512 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 (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.0004653/0.9994, allocations: 176 kB / 0.7654 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2455/1.245, allocations: 6.149 MB / 0.7714 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.245, allocations: 2.125 kB / 0.7714 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01089/1.256, allocations: 3.787 MB / 0.7751 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/1.259, allocations: 264.4 kB / 0.7754 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.269, allocations: 6.286 MB / 0.7815 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/1.27, allocations: 1.845 MB / 0.7833 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001639/1.272, allocations: 286.7 kB / 0.7836 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007334/1.273, allocations: 195.2 kB / 0.7838 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.31e-07/1.273, allocations: 0 / 0.7838 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.09124/1.364, allocations: 61.18 MB / 0.8435 GB, free: 133.9 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (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 & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)