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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001007, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008646/0.0008646, allocations: 100.1 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4794/0.4794, allocations: 78.95 MB / 410.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.267e-05/1.278e-05, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1531, allocations: 69.52 MB / 0.5424 GB, free: 5.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4543/0.6074, allocations: 112.6 MB / 0.6524 GB, free: 1.508 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.6078, allocations: 75.97 kB / 0.6525 GB, free: 1.434 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7003/1.308, allocations: 122.1 MB / 0.7717 GB, free: 95.31 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.435e-06/1.308, allocations: 2.906 kB / 0.7717 GB, free: 95.31 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003407/1.308, allocations: 87.77 kB / 0.7718 GB, free: 95.31 MB / 0.5573 GB 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.0161/1.325, allocations: 5.154 MB / 0.7768 GB, free: 93.77 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/1.325, allocations: 8.906 kB / 0.7768 GB, free: 93.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/1.337, allocations: 1.947 MB / 0.7788 GB, free: 93.48 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007534/1.344, allocations: 3.164 MB / 0.7818 GB, free: 92.79 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008488/1.345, allocations: 0.9048 MB / 0.7827 GB, free: 92 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009254/1.346, allocations: 179.6 kB / 0.7829 GB, free: 91.99 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00601/1.352, allocations: 3.042 MB / 0.7859 GB, free: 91.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006544/1.359, allocations: 3.042 MB / 0.7888 GB, free: 91.76 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.976e-05/1.359, allocations: 1.844 kB / 0.7888 GB, free: 91.76 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003216/1.359, allocations: 1.344 kB / 0.7888 GB, free: 91.76 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/1.359, allocations: 68.59 kB / 0.7889 GB, free: 91.76 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.04021/1.399, allocations: 15.16 MB / 0.8037 GB, free: 87.97 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01475/1.414, allocations: 6.104 MB / 0.8097 GB, free: 86.71 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004111/1.418, allocations: 1.857 MB / 0.8115 GB, free: 86.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/1.419, allocations: 0.7721 MB / 0.8122 GB, free: 85.81 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006278/1.426, allocations: 2.279 MB / 0.8145 GB, free: 85.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=331): time 1.456e-05/1.426, allocations: 2.906 kB / 0.8145 GB, free: 85.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=331): time 0.03915/1.465, allocations: 11.61 MB / 0.8258 GB, free: 84.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/1.465, allocations: 191.1 kB / 0.826 GB, free: 84.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007687/1.473, allocations: 3.504 MB / 0.8294 GB, free: 84.36 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001119/1.474, allocations: 29.23 kB / 0.8294 GB, free: 84.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/1.475, allocations: 1.896 MB / 0.8313 GB, free: 83.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001932/1.477, allocations: 1.117 MB / 0.8324 GB, free: 83.13 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009122/1.478, allocations: 0 / 0.8324 GB, free: 83.13 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002999/1.479, allocations: 447.7 kB / 0.8328 GB, free: 82.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003324/1.482, allocations: 1.675 MB / 0.8344 GB, free: 82.16 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003279/1.485, allocations: 2.022 MB / 0.8364 GB, free: 81.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003981/1.489, allocations: 1.888 MB / 0.8383 GB, free: 80.15 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/1.489, allocations: 1.969 kB / 0.8383 GB, free: 80.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01116/1.5, allocations: 5.561 MB / 0.8437 GB, free: 77.67 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.501, allocations: 14.66 kB / 0.8437 GB, free: 77.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/1.501, allocations: 7.094 kB / 0.8437 GB, free: 77.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01811/1.519, allocations: 6.334 MB / 0.8499 GB, free: 76.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/1.522, allocations: 0.5696 MB / 0.8505 GB, free: 76.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/1.533, allocations: 5.771 MB / 0.8561 GB, free: 73.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007715/1.541, allocations: 0.6061 MB / 0.8567 GB, free: 73.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/1.542, allocations: 127.6 kB / 0.8568 GB, free: 73.36 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: g3.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real g1.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 313 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {82 70} Notification: Performance of prepare postOptimizeDAE: time 0.0007781/1.543, allocations: 158.3 kB / 0.857 GB, free: 73.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00176/1.544, allocations: 458.4 kB / 0.8574 GB, free: 73.01 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03169/1.576, allocations: 11.91 MB / 0.869 GB, free: 70.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.65e-05/1.576, allocations: 34.41 kB / 0.8691 GB, free: 70.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/1.576, allocations: 3.797 kB / 0.8691 GB, free: 70.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001201/1.576, allocations: 21.45 kB / 0.8691 GB, free: 70.27 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.04216/1.619, allocations: 17.72 MB / 0.8864 GB, free: 61.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/1.619, allocations: 0 / 0.8864 GB, free: 61.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003266/1.622, allocations: 437.3 kB / 0.8868 GB, free: 61.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01272/1.635, allocations: 4.403 MB / 0.8911 GB, free: 58 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00136/1.636, allocations: 35.27 kB / 0.8911 GB, free: 57.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0326/1.669, allocations: 16.26 MB / 0.907 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.669, allocations: 0 / 0.907 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03751/1.706, allocations: 14.6 MB / 0.9213 GB, free: 31.24 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002595/1.709, allocations: 0.7241 MB / 0.922 GB, free: 30.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002337/1.711, allocations: 16 kB / 0.922 GB, free: 30.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005935/1.717, allocations: 445.8 kB / 0.9224 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00252/1.72, allocations: 0.6227 MB / 0.923 GB, free: 29.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000497/1.72, allocations: 93.25 kB / 0.9231 GB, free: 29.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004952/1.725, allocations: 2.601 MB / 0.9257 GB, free: 27.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.72e-07/1.725, allocations: 0 / 0.9257 GB, free: 27.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006645/1.732, allocations: 1.162 MB / 0.9268 GB, free: 26.21 MB / 0.5573 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 () * 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 (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.001133/1.733, allocations: 344.8 kB / 0.9271 GB, free: 25.94 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01542/1.749, allocations: 5.924 MB / 0.9329 GB, free: 20.49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.749, allocations: 4.062 kB / 0.9329 GB, free: 20.49 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01271/1.761, allocations: 4.189 MB / 0.937 GB, free: 16.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/1.767, allocations: 320.2 kB / 0.9373 GB, free: 16.44 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.785, allocations: 7.268 MB / 0.9444 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/1.786, allocations: 2.42 MB / 0.9468 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002749/1.789, allocations: 388.8 kB / 0.9471 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.79, allocations: 233.9 kB / 0.9474 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/1.79, allocations: 3.938 kB / 0.9474 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of Templates: time 0.4464/2.237, allocations: 61.24 MB / 1.007 GB, free: 101.3 MB / 0.573 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)