Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 108 kB / 15.6 MB, free: 132 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.338/1.338, allocations: 222.9 MB / 239.2 MB, free: 4.574 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.00148/0.00148, allocations: 192.5 kB / 289.5 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5309/0.5309, allocations: 91.9 MB / 431.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 83.86 kB / 0.5019 GB, free: 7.727 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3696, allocations: 71.26 MB / 0.5715 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01463/0.3843, allocations: 21.74 MB / 0.5927 GB, free: 21.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.3958, allocations: 4.855 MB / 0.5974 GB, free: 18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005672/0.4015, allocations: 47.16 kB / 0.5975 GB, free: 18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.4048, allocations: 0.878 MB / 0.5983 GB, free: 17.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00785/0.4126, allocations: 2.037 MB / 0.6003 GB, free: 16.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005406/0.4181, allocations: 2.051 MB / 0.6023 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00904/0.4271, allocations: 5.663 MB / 0.6078 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002824/0.43, allocations: 1.326 MB / 0.6091 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004694/0.4347, allocations: 2.315 MB / 0.6114 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00604/0.4408, allocations: 2.938 MB / 0.6143 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.4432, allocations: 436.7 kB / 0.6147 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003803/0.447, allocations: 0.5801 MB / 0.6153 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002431/0.4495, allocations: 1.155 MB / 0.6164 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006595/0.4561, allocations: 2.603 MB / 0.6189 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.4678, allocations: 6.156 MB / 0.6249 GB, free: 3.301 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4679, allocations: 0 / 0.6249 GB, free: 3.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4679, allocations: 0 / 0.6249 GB, free: 3.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002885/0.4682, allocations: 0 / 0.6249 GB, free: 3.301 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03799/0.5062, allocations: 9.152 MB / 0.6339 GB, free: 14.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5063, allocations: 11.97 kB / 0.6339 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02794/0.5342, allocations: 4.009 MB / 0.6378 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007059/0.5413, allocations: 2.647 MB / 0.6404 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009884/0.5423, allocations: 0.9612 MB / 0.6413 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.5435, allocations: 351.8 kB / 0.6417 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.5537, allocations: 4.723 MB / 0.6463 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.543e-05/0.5537, allocations: 7.938 kB / 0.6463 GB, free: 1.629 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000454/0.5542, allocations: 140 kB / 0.6464 GB, free: 1.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.506e-05/0.5543, allocations: 84 kB / 0.6465 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009/0.5633, allocations: 4.24 MB / 0.6506 GB, free: 13.16 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.0364/0.5997, allocations: 18.31 MB / 0.6685 GB, free: 9.676 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/0.6125, allocations: 4.992 MB / 0.6734 GB, free: 4.605 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006034/0.6186, allocations: 2.785 MB / 0.6761 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/0.6191, allocations: 70.91 kB / 0.6762 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006503/0.6256, allocations: 3.169 MB / 0.6793 GB, free: 14.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=382): time 5.981e-06/0.6256, allocations: 0 / 0.6793 GB, free: 14.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=382): time 0.3106/0.9362, allocations: 68.21 MB / 0.7459 GB, free: 10.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.9364, allocations: 141.8 kB / 0.746 GB, free: 9.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00511/0.9415, allocations: 3.23 MB / 0.7492 GB, free: 6.715 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/0.9426, allocations: 85.7 kB / 0.7492 GB, free: 6.625 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.9442, allocations: 1.974 MB / 0.7512 GB, free: 4.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002108/0.9463, allocations: 1.309 MB / 0.7525 GB, free: 3.309 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/0.9477, allocations: 0.6664 MB / 0.7531 GB, free: 2.629 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.158e-05/0.9478, allocations: 301.1 kB / 0.7534 GB, free: 2.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005706/0.9536, allocations: 2.585 MB / 0.7559 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006348/0.9599, allocations: 3.205 MB / 0.759 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3672/1.327, allocations: 18.82 MB / 0.7774 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.809e-05/1.327, allocations: 5.75 kB / 0.7774 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.0585/1.386, allocations: 16.93 MB / 0.794 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.504e-05/1.386, allocations: 64.73 kB / 0.794 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-05/1.386, allocations: 13.78 kB / 0.794 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02733/1.413, allocations: 7.245 MB / 0.8011 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/1.417, allocations: 0.6581 MB / 0.8018 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09917/1.516, allocations: 33.77 MB / 0.8347 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00747/1.524, allocations: 0.6178 MB / 0.8353 GB, free: 133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.525, allocations: 148 kB / 0.8355 GB, free: 132.9 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.003981/1.529, allocations: 0.6728 MB / 0.8361 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0025/1.532, allocations: 454.4 kB / 0.8366 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05744/1.589, allocations: 16.84 MB / 0.853 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.735e-05/1.59, allocations: 39.98 kB / 0.853 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001692/1.59, allocations: 32 kB / 0.8531 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001753/1.59, allocations: 15.94 kB / 0.8531 GB, free: 114.8 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.06953/1.659, allocations: 21.83 MB / 0.8744 GB, free: 92.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.959e-05/1.66, allocations: 7.875 kB / 0.8744 GB, free: 92.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/1.662, allocations: 391.5 kB / 0.8748 GB, free: 92.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02571/1.688, allocations: 7.39 MB / 0.882 GB, free: 85.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001326/1.689, allocations: 71.97 kB / 0.8821 GB, free: 85.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08756/1.777, allocations: 31.83 MB / 0.9132 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.777, allocations: 0 / 0.9132 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06538/1.842, allocations: 20.2 MB / 0.9329 GB, free: 32.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/1.844, allocations: 0.5609 MB / 0.9334 GB, free: 32.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002311/1.847, allocations: 64 kB / 0.9335 GB, free: 31.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006107/1.853, allocations: 379.5 kB / 0.9339 GB, free: 31.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003839/1.857, allocations: 0.7805 MB / 0.9346 GB, free: 30.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008706/1.857, allocations: 91.98 kB / 0.9347 GB, free: 30.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003968/1.861, allocations: 2.117 MB / 0.9368 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.2e-07/1.861, allocations: 0 / 0.9368 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008439/1.87, allocations: 1.794 MB / 0.9385 GB, free: 26.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/1.871, allocations: 199.3 kB / 0.9387 GB, free: 26.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03182/1.903, allocations: 9.414 MB / 0.9479 GB, free: 17.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.903, allocations: 0 / 0.9479 GB, free: 17.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02072/1.924, allocations: 6.184 MB / 0.9539 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006373/1.93, allocations: 388.1 kB / 0.9543 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.949, allocations: 7.908 MB / 0.962 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/1.952, allocations: 2.439 MB / 0.9644 GB, free: 156 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002379/1.954, allocations: 375.2 kB / 0.9648 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.955, allocations: 247.3 kB / 0.965 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of SimCode: time 1.593e-06/1.955, allocations: 0 / 0.965 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.421/2.377, allocations: 92.26 MB / 1.055 GB, free: 158.8 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)