Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.295/1.295, allocations: 222.9 MB / 240 MB, free: 4.414 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.001186/0.001186, allocations: 182.9 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4853/0.4853, allocations: 91.9 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 83.84 kB / 0.5033 GB, free: 6.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3449, allocations: 71.26 MB / 0.5729 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01503/0.3599, allocations: 19.54 MB / 0.5919 GB, free: 23.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.3721, allocations: 6.399 MB / 0.5982 GB, free: 18.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005032/0.3772, allocations: 41.88 kB / 0.5982 GB, free: 18.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.3808, allocations: 0.9668 MB / 0.5992 GB, free: 18.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008137/0.389, allocations: 2.399 MB / 0.6015 GB, free: 16.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005948/0.395, allocations: 2.189 MB / 0.6037 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.4062, allocations: 7.033 MB / 0.6105 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003123/0.4094, allocations: 1.313 MB / 0.6118 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005306/0.4147, allocations: 2.676 MB / 0.6144 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005797/0.4205, allocations: 3.289 MB / 0.6176 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003518/0.4241, allocations: 0.6717 MB / 0.6183 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004515/0.4286, allocations: 0.9555 MB / 0.6192 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002772/0.4314, allocations: 1.464 MB / 0.6207 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005991/0.4374, allocations: 2.846 MB / 0.6234 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.4476, allocations: 8.16 MB / 0.6314 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4477, allocations: 0 / 0.6314 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4477, allocations: 0 / 0.6314 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002302/0.4479, allocations: 4 kB / 0.6314 GB, free: 15.87 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.0384/0.4863, allocations: 9.725 MB / 0.6409 GB, free: 8.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4864, allocations: 8.031 kB / 0.6409 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.498, allocations: 1.941 MB / 0.6428 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007593/0.5057, allocations: 3.371 MB / 0.6461 GB, free: 3.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/0.5068, allocations: 1.005 MB / 0.6471 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.508, allocations: 327.8 kB / 0.6474 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008572/0.5166, allocations: 3.949 MB / 0.6513 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.474e-05/0.5167, allocations: 0 / 0.6513 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/0.517, allocations: 112 kB / 0.6514 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/0.517, allocations: 68 kB / 0.6514 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008362/0.5254, allocations: 3.8 MB / 0.6551 GB, free: 9.773 MB / 462.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.03412/0.5596, allocations: 15.51 MB / 0.6703 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01559/0.5752, allocations: 6.459 MB / 0.6766 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005447/0.5807, allocations: 2.441 MB / 0.679 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008612/0.5816, allocations: 0.766 MB / 0.6797 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005687/0.5873, allocations: 2.868 MB / 0.6825 GB, free: 12.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=331): time 4.579e-06/0.5873, allocations: 0 / 0.6825 GB, free: 12.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=331): time 0.1001/0.6874, allocations: 25.85 MB / 0.7078 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.6876, allocations: 188.8 kB / 0.7079 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008987/0.6966, allocations: 4.537 MB / 0.7124 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001202/0.6978, allocations: 101.7 kB / 0.7125 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00179/0.6996, allocations: 1.747 MB / 0.7142 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002148/0.7018, allocations: 1.206 MB / 0.7154 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002752/0.7045, allocations: 1.062 MB / 0.7164 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7047, allocations: 305.1 kB / 0.7167 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006528/0.7112, allocations: 3.022 MB / 0.7196 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007206/0.7184, allocations: 3.533 MB / 0.7231 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/0.7317, allocations: 6.11 MB / 0.7291 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/0.7317, allocations: 0 / 0.7291 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02312/0.7549, allocations: 9.401 MB / 0.7382 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.7549, allocations: 8 kB / 0.7382 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/0.755, allocations: 8 kB / 0.7383 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02424/0.7792, allocations: 10.3 MB / 0.7483 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005022/0.7843, allocations: 0.983 MB / 0.7493 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.7996, allocations: 6.291 MB / 0.7554 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007122/0.8068, allocations: 0.7292 MB / 0.7561 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009955/0.8078, allocations: 196 kB / 0.7563 GB, free: 0.5781 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.002264/0.8101, allocations: 0.7613 MB / 0.7571 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/0.8114, allocations: 466.1 kB / 0.7575 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03411/0.8455, allocations: 11.62 MB / 0.7688 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.761e-05/0.8456, allocations: 36 kB / 0.7689 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.8456, allocations: 0 / 0.7689 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.942e-05/0.8457, allocations: 19.88 kB / 0.7689 GB, free: 3.605 MB / 0.5606 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.2849/1.131, allocations: 17.67 MB / 0.7861 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.816e-05/1.131, allocations: 1.125 kB / 0.7861 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003356/1.134, allocations: 429.4 kB / 0.7866 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01587/1.15, allocations: 4.755 MB / 0.7912 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009783/1.151, allocations: 81.97 kB / 0.7913 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04983/1.201, allocations: 21.45 MB / 0.8122 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.201, allocations: 0 / 0.8122 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03766/1.238, allocations: 14.78 MB / 0.8267 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/1.24, allocations: 0.6969 MB / 0.8273 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001502/1.242, allocations: 72 kB / 0.8274 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004258/1.246, allocations: 386.2 kB / 0.8278 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002049/1.248, allocations: 0.6243 MB / 0.8284 GB, free: 139 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002903/1.249, allocations: 91.55 kB / 0.8285 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00433/1.253, allocations: 2.99 MB / 0.8314 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.61e-07/1.253, allocations: 0 / 0.8314 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004318/1.257, allocations: 1.44 MB / 0.8328 GB, free: 135 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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.0005479/1.258, allocations: 237.6 kB / 0.833 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01773/1.276, allocations: 7.933 MB / 0.8408 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.276, allocations: 4.188 kB / 0.8408 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01152/1.287, allocations: 4.492 MB / 0.8452 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/1.291, allocations: 397.3 kB / 0.8455 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/1.305, allocations: 9.147 MB / 0.8545 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.307, allocations: 2.335 MB / 0.8568 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002383/1.309, allocations: 449.2 kB / 0.8572 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.31, allocations: 275.4 kB / 0.8574 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/1.31, allocations: 0 / 0.8574 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.09524/1.405, allocations: 77.74 MB / 0.9334 GB, free: 32.91 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)