Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 108 kB / 15.61 MB, free: 152 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.377/1.377, allocations: 222.9 MB / 239.3 MB, free: 4.609 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: 188.5 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4891/0.4891, allocations: 78.52 MB / 418.2 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 83.88 kB / 497.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.15, allocations: 68.18 MB / 0.5525 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2618/0.4118, allocations: 6.701 MB / 0.559 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003818/0.4157, allocations: 2.006 MB / 0.561 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006474/0.4164, allocations: 10.97 kB / 0.561 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007188/0.4171, allocations: 250.1 kB / 0.5612 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.4189, allocations: 0.8139 MB / 0.562 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.42, allocations: 0.6414 MB / 0.5626 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.4214, allocations: 1.665 MB / 0.5643 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.4218, allocations: 331.4 kB / 0.5646 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005957/0.4224, allocations: 0.6844 MB / 0.5653 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007104/0.4231, allocations: 0.8745 MB / 0.5661 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.4233, allocations: 136 kB / 0.5662 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.4237, allocations: 267.6 kB / 0.5665 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.424, allocations: 347.5 kB / 0.5668 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.4245, allocations: 0.6984 MB / 0.5675 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.4257, allocations: 1.709 MB / 0.5692 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4257, allocations: 3.75 kB / 0.5692 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4257, allocations: 0.9375 kB / 0.5692 GB, free: 33.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.4258, allocations: 1.219 kB / 0.5692 GB, free: 33.68 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00837/0.4341, allocations: 2.78 MB / 0.5719 GB, free: 32.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4342, allocations: 8.625 kB / 0.5719 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.4343, allocations: 128.6 kB / 0.572 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.439, allocations: 0.7836 MB / 0.5728 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.4403, allocations: 0.922 MB / 0.5737 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.4406, allocations: 259.7 kB / 0.5739 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.4408, allocations: 93.16 kB / 0.574 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.4426, allocations: 1.107 MB / 0.5751 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.4427, allocations: 6.328 kB / 0.5751 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/0.4428, allocations: 39 kB / 0.5752 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.4428, allocations: 15.88 kB / 0.5752 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.4446, allocations: 1.002 MB / 0.5761 GB, free: 31.84 MB / 430.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.005664/0.4502, allocations: 3.916 MB / 0.58 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006886/0.4571, allocations: 2.404 MB / 0.5823 GB, free: 29.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.4587, allocations: 0.692 MB / 0.583 GB, free: 28.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.675e-05/0.4588, allocations: 19.11 kB / 0.583 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001527/0.4603, allocations: 0.8412 MB / 0.5838 GB, free: 28.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.416e-06/0.4603, allocations: 1.281 kB / 0.5838 GB, free: 28.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02825/0.4886, allocations: 7.075 MB / 0.5907 GB, free: 27.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.4887, allocations: 126.2 kB / 0.5909 GB, free: 26.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.4906, allocations: 1.138 MB / 0.592 GB, free: 26.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000287/0.4909, allocations: 42.81 kB / 0.592 GB, free: 26.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.4913, allocations: 0.5042 MB / 0.5925 GB, free: 25.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.4917, allocations: 363.6 kB / 0.5929 GB, free: 25.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005456/0.4922, allocations: 299.4 kB / 0.5931 GB, free: 25.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.442e-05/0.4923, allocations: 306.8 kB / 0.5934 GB, free: 25.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.494, allocations: 0.7943 MB / 0.5942 GB, free: 24.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.4957, allocations: 0.9688 MB / 0.5952 GB, free: 24.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02565/0.5214, allocations: 5.938 MB / 0.601 GB, free: 22.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.5214, allocations: 1.031 kB / 0.601 GB, free: 22.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01459/0.536, allocations: 4.515 MB / 0.6054 GB, free: 21.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.5361, allocations: 58.25 kB / 0.6054 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/0.5361, allocations: 3.812 kB / 0.6054 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006139/0.5423, allocations: 1.667 MB / 0.6071 GB, free: 20.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.5439, allocations: 296.3 kB / 0.6073 GB, free: 20.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/0.5625, allocations: 8.634 MB / 0.6158 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.5646, allocations: 206.6 kB / 0.616 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.5648, allocations: 60.97 kB / 0.616 GB, free: 13.62 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005804/0.5654, allocations: 304.1 kB / 0.6163 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.5656, allocations: 130.3 kB / 0.6164 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.577, allocations: 3.92 MB / 0.6203 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.577, allocations: 15.98 kB / 0.6203 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.5771, allocations: 8 kB / 0.6203 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.5771, allocations: 3.984 kB / 0.6203 GB, free: 9.211 MB / 430.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 postOpt removeSimpleEquations (simulation): time 0.01305/0.5901, allocations: 5.545 MB / 0.6257 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.5902, allocations: 0 / 0.6257 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.5909, allocations: 111.8 kB / 0.6258 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004937/0.5958, allocations: 1.601 MB / 0.6274 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/0.5961, allocations: 20 kB / 0.6274 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01989/0.616, allocations: 9.627 MB / 0.6368 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.616, allocations: 0 / 0.6368 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/0.6308, allocations: 4.816 MB / 0.6415 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005709/0.6314, allocations: 231.2 kB / 0.6417 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/0.6316, allocations: 25.95 kB / 0.6417 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.6329, allocations: 111.9 kB / 0.6419 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005909/0.6335, allocations: 192.7 kB / 0.642 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-05/0.6336, allocations: 35.98 kB / 0.6421 GB, free: 2.449 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001156/0.6348, allocations: 0.7634 MB / 0.6428 GB, free: 1.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6348, allocations: 0 / 0.6428 GB, free: 1.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001592/0.6364, allocations: 487.6 kB / 0.6433 GB, free: 1.203 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01526/0.6516, allocations: 5.388 MB / 0.6485 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007678/0.6594, allocations: 2.674 MB / 0.6512 GB, free: 9.055 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6594, allocations: 0 / 0.6512 GB, free: 9.055 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004577/0.664, allocations: 1.614 MB / 0.6527 GB, free: 7.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.6653, allocations: 119.1 kB / 0.6528 GB, free: 7.301 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04347/0.7087, allocations: 17.59 MB / 0.67 GB, free: 5.312 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008143/0.7096, allocations: 1.136 MB / 0.6711 GB, free: 4.145 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006962/0.7103, allocations: 116.2 kB / 0.6712 GB, free: 4.031 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006613/0.711, allocations: 495.3 kB / 0.6717 GB, free: 3.547 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.711, allocations: 0 / 0.6717 GB, free: 3.547 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07645/0.7875, allocations: 35.16 MB / 0.7061 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.37, allocations: 8.266 kB / 0.7061 GB, free: 0.7539 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)