Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.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.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001529, allocations: 112.4 kB / 16.42 MB, free: 6.453 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.419/1.419, allocations: 222.9 MB / 240.1 MB, free: 4.582 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.001527/0.001527, allocations: 200.4 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5291/0.5291, allocations: 91.9 MB / 432.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 78.44 kB / 0.5735 GB, free: 33.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.14, allocations: 71.29 MB / 0.6431 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01916/0.1592, allocations: 21.83 MB / 0.6644 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.171, allocations: 4.861 MB / 0.6692 GB, free: 8.805 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004393/0.1754, allocations: 44 kB / 0.6692 GB, free: 8.762 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.1785, allocations: 0.875 MB / 0.6701 GB, free: 7.879 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008219/0.1868, allocations: 2.293 MB / 0.6723 GB, free: 5.574 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005962/0.1928, allocations: 2.063 MB / 0.6743 GB, free: 3.543 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009004/0.2018, allocations: 5.72 MB / 0.6799 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.2048, allocations: 1.318 MB / 0.6812 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004094/0.2089, allocations: 2.322 MB / 0.6835 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004572/0.2135, allocations: 2.928 MB / 0.6863 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001944/0.2155, allocations: 436 kB / 0.6868 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.2181, allocations: 0.5819 MB / 0.6873 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001859/0.2199, allocations: 1.143 MB / 0.6884 GB, free: 5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004644/0.2246, allocations: 2.61 MB / 0.691 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009968/0.2346, allocations: 6.246 MB / 0.6971 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.2346, allocations: 0 / 0.6971 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2346, allocations: 0 / 0.6971 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002843/0.2349, allocations: 4 kB / 0.6971 GB, free: 12.1 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03402/0.269, allocations: 9.318 MB / 0.7062 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.269, allocations: 8.031 kB / 0.7062 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.028/0.297, allocations: 4.043 MB / 0.7102 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006881/0.304, allocations: 2.677 MB / 0.7128 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/0.3052, allocations: 0.9534 MB / 0.7137 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.3068, allocations: 348 kB / 0.714 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.3218, allocations: 4.731 MB / 0.7187 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.3219, allocations: 7.875 kB / 0.7187 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/0.3231, allocations: 140 kB / 0.7188 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.518e-05/0.3232, allocations: 84 kB / 0.7189 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.3347, allocations: 4.244 MB / 0.723 GB, free: 1.199 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 preOpt removeSimpleEquations (simulation): time 0.04014/0.3749, allocations: 18.26 MB / 0.7408 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/0.3885, allocations: 5 MB / 0.7457 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006307/0.3949, allocations: 2.783 MB / 0.7484 GB, free: 5.879 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007187/0.3956, allocations: 70.84 kB / 0.7485 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007661/0.4033, allocations: 3.173 MB / 0.7516 GB, free: 2.594 MB / 0.545 GB Notification: Performance of pre-optimization done (n=383): time 9.729e-06/0.4034, allocations: 0 / 0.7516 GB, free: 2.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=383): time 0.6222/1.026, allocations: 68.06 MB / 0.8181 GB, free: 84.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/1.026, allocations: 141.8 kB / 0.8182 GB, free: 84.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003819/1.029, allocations: 3.223 MB / 0.8214 GB, free: 81.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000815/1.03, allocations: 87.08 kB / 0.8214 GB, free: 81.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009776/1.031, allocations: 2.009 MB / 0.8234 GB, free: 80.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001188/1.032, allocations: 1.376 MB / 0.8248 GB, free: 79.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/1.034, allocations: 0.6706 MB / 0.8254 GB, free: 78.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.502e-05/1.034, allocations: 309.1 kB / 0.8257 GB, free: 78.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004747/1.039, allocations: 2.589 MB / 0.8282 GB, free: 75.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004933/1.043, allocations: 3.209 MB / 0.8314 GB, free: 72.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06486/1.108, allocations: 18.77 MB / 0.8497 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/1.108, allocations: 4 kB / 0.8497 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05206/1.16, allocations: 17.28 MB / 0.8666 GB, free: 35.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/1.161, allocations: 64.03 kB / 0.8666 GB, free: 35.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/1.161, allocations: 19.98 kB / 0.8667 GB, free: 35.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02375/1.184, allocations: 7.153 MB / 0.8736 GB, free: 28.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/1.188, allocations: 0.667 MB / 0.8743 GB, free: 27.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08037/1.268, allocations: 33.32 MB / 0.9068 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00603/1.274, allocations: 0.6299 MB / 0.9074 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006149/1.275, allocations: 152 kB / 0.9076 GB, free: 9.609 MB / 0.5762 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 400 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001834/1.277, allocations: 0.6719 MB / 0.9082 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.278, allocations: 484.9 kB / 0.9087 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05638/1.334, allocations: 16.84 MB / 0.9252 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.924e-05/1.334, allocations: 23.83 kB / 0.9252 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/1.334, allocations: 0 / 0.9252 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.336, allocations: 0.5864 MB / 0.9258 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.337, allocations: 68 kB / 0.9258 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00426/1.341, allocations: 375.6 kB / 0.9262 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006832/1.348, allocations: 1.906 MB / 0.928 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02558/1.374, allocations: 8.316 MB / 0.9362 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01789/1.392, allocations: 8.225 MB / 0.9442 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005357/1.397, allocations: 2.272 MB / 0.9464 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003311/1.4, allocations: 2.109 MB / 0.9485 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of Backend: time 7.92e-07/1.4, allocations: 0 / 0.9485 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02214/1.423, allocations: 6.888 MB / 0.9552 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of SimCode: time 0.01358/1.436, allocations: 9.098 MB / 0.9641 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of Templates: time 0.4255/1.862, allocations: 84 MB / 1.046 GB, free: 240 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)