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.001069/0.001069, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.352 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.001082/0.001082, allocations: 192.5 kB / 291.3 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5365/0.5365, allocations: 91.92 MB / 434.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004036, allocations: 12 kB / 0.5054 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4103, allocations: 72.46 MB / 0.5762 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.0137/0.4241, allocations: 19.43 MB / 0.5951 GB, free: 22.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.4373, allocations: 6.412 MB / 0.6014 GB, free: 17.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005418/0.4428, allocations: 44.28 kB / 0.6015 GB, free: 17.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00387/0.4467, allocations: 0.7571 MB / 0.6022 GB, free: 17.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008828/0.4556, allocations: 2.097 MB / 0.6042 GB, free: 16.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005585/0.4612, allocations: 2.016 MB / 0.6062 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01068/0.4719, allocations: 6.485 MB / 0.6125 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.4745, allocations: 1.191 MB / 0.6137 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004642/0.4791, allocations: 2.121 MB / 0.6158 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005317/0.4845, allocations: 2.83 MB / 0.6185 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002321/0.4868, allocations: 250.8 kB / 0.6188 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.49, allocations: 0.4939 MB / 0.6193 GB, free: 8.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.492, allocations: 1.011 MB / 0.6202 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005692/0.4977, allocations: 2.379 MB / 0.6226 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009355/0.507, allocations: 6.383 MB / 0.6288 GB, free: 3.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.5071, allocations: 0 / 0.6288 GB, free: 3.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5071, allocations: 4 kB / 0.6288 GB, free: 3.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002925/0.5074, allocations: 1.25 kB / 0.6288 GB, free: 3.906 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: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.03684/0.5443, allocations: 9.037 MB / 0.6376 GB, free: 14.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.5443, allocations: 8.031 kB / 0.6376 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/0.5579, allocations: 1.956 MB / 0.6396 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009734/0.5677, allocations: 3.355 MB / 0.6428 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001414/0.5692, allocations: 1.032 MB / 0.6438 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/0.5708, allocations: 331.8 kB / 0.6442 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.5826, allocations: 4.144 MB / 0.6482 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.247e-05/0.5827, allocations: 3.938 kB / 0.6482 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004465/0.5832, allocations: 112 kB / 0.6483 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.573e-05/0.5832, allocations: 64 kB / 0.6484 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.594, allocations: 4.011 MB / 0.6523 GB, free: 15.32 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.0371/0.6311, allocations: 15.78 MB / 0.6677 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0184/0.6496, allocations: 7.19 MB / 0.6747 GB, free: 7.527 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006806/0.6564, allocations: 2.623 MB / 0.6773 GB, free: 4.883 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.6577, allocations: 0.7699 MB / 0.678 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008246/0.6659, allocations: 3.041 MB / 0.681 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 7.394e-06/0.666, allocations: 0 / 0.681 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1198/0.7858, allocations: 30.56 MB / 0.7108 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.786, allocations: 192.7 kB / 0.711 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/0.7986, allocations: 4.541 MB / 0.7155 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00133/0.7999, allocations: 105.6 kB / 0.7156 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002484/0.8024, allocations: 1.743 MB / 0.7173 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002864/0.8053, allocations: 1.202 MB / 0.7184 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002265/0.8076, allocations: 0.5499 MB / 0.719 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8078, allocations: 301.1 kB / 0.7193 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009227/0.817, allocations: 3.201 MB / 0.7224 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01014/0.8272, allocations: 3.729 MB / 0.726 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01804/0.8453, allocations: 6.477 MB / 0.7324 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.961e-05/0.8454, allocations: 4 kB / 0.7324 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.03133/0.8767, allocations: 9.987 MB / 0.7421 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.8768, allocations: 12.12 kB / 0.7421 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.811e-05/0.8768, allocations: 8 kB / 0.7421 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02921/0.9061, allocations: 11.14 MB / 0.753 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005679/0.9118, allocations: 0.9909 MB / 0.754 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/0.9328, allocations: 6.994 MB / 0.7608 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009072/0.9419, allocations: 0.8425 MB / 0.7616 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/0.9436, allocations: 195.9 kB / 0.7618 GB, free: 13.57 MB / 0.5606 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.00438/0.948, allocations: 0.7625 MB / 0.7626 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002439/0.9505, allocations: 470 kB / 0.763 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3746/1.325, allocations: 13.98 MB / 0.7767 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.321e-05/1.325, allocations: 33 kB / 0.7767 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.325, allocations: 5.875 kB / 0.7767 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/1.325, allocations: 18.16 kB / 0.7767 GB, free: 158 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.05123/1.377, allocations: 20.06 MB / 0.7963 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-05/1.377, allocations: 5.438 kB / 0.7963 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/1.38, allocations: 435.8 kB / 0.7967 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01779/1.398, allocations: 5.579 MB / 0.8022 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001165/1.399, allocations: 75.05 kB / 0.8022 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05634/1.455, allocations: 22.04 MB / 0.8238 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.455, allocations: 3.938 kB / 0.8238 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04944/1.505, allocations: 17.32 MB / 0.8407 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002534/1.507, allocations: 0.7066 MB / 0.8414 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002575/1.51, allocations: 72 kB / 0.8414 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006506/1.516, allocations: 495.5 kB / 0.8419 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003006/1.52, allocations: 0.608 MB / 0.8425 GB, free: 128 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009814/1.521, allocations: 91.97 kB / 0.8426 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00749/1.528, allocations: 2.996 MB / 0.8455 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.31e-07/1.528, allocations: 7.188 kB / 0.8455 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008877/1.537, allocations: 1.435 MB / 0.8469 GB, free: 123.5 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.001584/1.539, allocations: 232.2 kB / 0.8472 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.025/1.564, allocations: 8.606 MB / 0.8556 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.564, allocations: 1.375 kB / 0.8556 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01478/1.578, allocations: 4.967 MB / 0.8604 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008332/1.587, allocations: 400.4 kB / 0.8608 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/1.61, allocations: 11.24 MB / 0.8718 GB, free: 98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002705/1.613, allocations: 2.337 MB / 0.874 GB, free: 95.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/1.616, allocations: 275.4 kB / 0.8743 GB, free: 95.36 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/1.616, allocations: 0 / 0.8743 GB, free: 95.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.1009/1.717, allocations: 78.83 MB / 0.9513 GB, free: 16.48 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)