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.001495/0.001495, allocations: 104.2 kB / 16.35 MB, free: 6.289 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.303/1.303, allocations: 222.9 MB / 240 MB, free: 4.566 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.001271/0.001271, allocations: 200.3 kB / 290.3 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4999/0.4999, allocations: 91.9 MB / 432.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 87.86 kB / 0.5033 GB, free: 7.012 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3212, allocations: 71.26 MB / 0.5729 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01502/0.3362, allocations: 19.54 MB / 0.5919 GB, free: 23.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.3475, allocations: 6.403 MB / 0.5982 GB, free: 19.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.3509, allocations: 42.72 kB / 0.5982 GB, free: 19.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.3537, allocations: 0.9654 MB / 0.5992 GB, free: 18.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006407/0.3601, allocations: 2.409 MB / 0.6015 GB, free: 16.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00402/0.3642, allocations: 2.174 MB / 0.6037 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008449/0.3726, allocations: 7.033 MB / 0.6105 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.3745, allocations: 1.322 MB / 0.6118 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00408/0.3786, allocations: 2.671 MB / 0.6144 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005363/0.384, allocations: 3.29 MB / 0.6176 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002856/0.3869, allocations: 0.6723 MB / 0.6183 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.3901, allocations: 0.9474 MB / 0.6192 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.3915, allocations: 1.464 MB / 0.6207 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003789/0.3953, allocations: 2.843 MB / 0.6234 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008583/0.4039, allocations: 8.174 MB / 0.6314 GB, free: 288 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.404, allocations: 0 / 0.6314 GB, free: 288 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.404, allocations: 0 / 0.6314 GB, free: 288 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002232/0.4042, allocations: 1.25 kB / 0.6314 GB, free: 288 kB / 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.0367/0.4409, allocations: 9.728 MB / 0.6409 GB, free: 8.855 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.441, allocations: 12.02 kB / 0.6409 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.4526, allocations: 1.933 MB / 0.6428 GB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007099/0.4597, allocations: 3.367 MB / 0.6461 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/0.4608, allocations: 1.001 MB / 0.6471 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007831/0.4616, allocations: 331.8 kB / 0.6474 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007924/0.4695, allocations: 3.952 MB / 0.6513 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/0.4696, allocations: 0 / 0.6513 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/0.4699, allocations: 112 kB / 0.6514 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/0.4699, allocations: 68 kB / 0.6514 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008226/0.4782, allocations: 3.8 MB / 0.6551 GB, free: 9.957 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.02814/0.5063, allocations: 15.51 MB / 0.6703 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01479/0.5212, allocations: 6.466 MB / 0.6766 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004932/0.5261, allocations: 2.432 MB / 0.679 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007974/0.5269, allocations: 0.766 MB / 0.6797 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005684/0.5326, allocations: 2.864 MB / 0.6825 GB, free: 12.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=331): time 4.618e-06/0.5326, allocations: 0 / 0.6825 GB, free: 12.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=331): time 0.09993/0.6326, allocations: 25.86 MB / 0.7078 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.6327, allocations: 192.7 kB / 0.708 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007843/0.6406, allocations: 4.538 MB / 0.7124 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007495/0.6413, allocations: 97.7 kB / 0.7125 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.6427, allocations: 1.751 MB / 0.7142 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001608/0.6444, allocations: 1.21 MB / 0.7154 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001909/0.6463, allocations: 1.059 MB / 0.7164 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.6464, allocations: 301.1 kB / 0.7167 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006356/0.6527, allocations: 3.014 MB / 0.7196 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006981/0.6597, allocations: 3.549 MB / 0.7231 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/0.6719, allocations: 6.11 MB / 0.7291 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.6719, allocations: 0 / 0.7291 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.01993/0.6918, allocations: 9.385 MB / 0.7382 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.6919, allocations: 14.12 kB / 0.7382 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/0.6919, allocations: 8 kB / 0.7382 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02462/0.7166, allocations: 10.3 MB / 0.7483 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005103/0.7217, allocations: 0.9792 MB / 0.7493 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/0.7369, allocations: 6.295 MB / 0.7554 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006579/0.7435, allocations: 0.7292 MB / 0.7561 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006311/0.7441, allocations: 188 kB / 0.7563 GB, free: 0.7695 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.001838/0.746, allocations: 0.7665 MB / 0.7571 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009801/0.747, allocations: 470.1 kB / 0.7575 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03482/0.7818, allocations: 11.61 MB / 0.7688 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/0.7819, allocations: 36 kB / 0.7689 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.7819, allocations: 3.938 kB / 0.7689 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.243e-05/0.7819, allocations: 23.88 kB / 0.7689 GB, free: 3.785 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.2612/1.043, allocations: 17.66 MB / 0.7861 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/1.043, allocations: 2.312 kB / 0.7861 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/1.046, allocations: 439.3 kB / 0.7866 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01518/1.061, allocations: 4.751 MB / 0.7912 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000942/1.062, allocations: 77.75 kB / 0.7913 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04816/1.11, allocations: 21.45 MB / 0.8122 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.11, allocations: 3.938 kB / 0.8122 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03859/1.149, allocations: 14.77 MB / 0.8267 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002526/1.152, allocations: 0.6935 MB / 0.8273 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/1.153, allocations: 68 kB / 0.8274 GB, free: 140 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004185/1.157, allocations: 383.2 kB / 0.8278 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002004/1.159, allocations: 0.627 MB / 0.8284 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002619/1.159, allocations: 92.47 kB / 0.8285 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004162/1.164, allocations: 2.987 MB / 0.8314 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/1.164, allocations: 4 kB / 0.8314 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00345/1.167, allocations: 1.436 MB / 0.8328 GB, free: 135.3 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.0005029/1.168, allocations: 240.5 kB / 0.833 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01774/1.185, allocations: 7.93 MB / 0.8408 GB, free: 128 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.185, allocations: 4.375 kB / 0.8408 GB, free: 128 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01118/1.197, allocations: 4.503 MB / 0.8452 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/1.2, allocations: 404.8 kB / 0.8456 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/1.213, allocations: 9.133 MB / 0.8545 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.215, allocations: 2.341 MB / 0.8568 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00196/1.217, allocations: 449.2 kB / 0.8572 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.218, allocations: 271.4 kB / 0.8574 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/1.218, allocations: 0 / 0.8574 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.09417/1.312, allocations: 77.74 MB / 0.9334 GB, free: 33.28 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 gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)