Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 175.1 kB / 15.42 MB, free: 6.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.8 MB / 239 MB, free: 1.785 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.0007832/0.0007827, allocations: 104 kB / 289.8 MB, free: 14.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4476/0.4476, allocations: 78.42 MB / 418.9 MB, free: 44.26 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 15.94 kB / 498.5 MB, free: 3.766 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2967, allocations: 68.74 MB / 0.554 GB, free: 39.7 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005823/0.3026, allocations: 6.809 MB / 0.5606 GB, free: 37.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.3061, allocations: 2 MB / 0.5626 GB, free: 36.22 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006204/0.3068, allocations: 15.19 kB / 0.5626 GB, free: 36.22 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.3074, allocations: 186.7 kB / 0.5628 GB, free: 36.15 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.309, allocations: 0.7077 MB / 0.5635 GB, free: 35.84 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3102, allocations: 0.5941 MB / 0.564 GB, free: 35.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.3116, allocations: 1.482 MB / 0.5655 GB, free: 35.4 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.312, allocations: 286.3 kB / 0.5658 GB, free: 35.33 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007278/0.3128, allocations: 0.5681 MB / 0.5663 GB, free: 35.15 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006852/0.3135, allocations: 0.7488 MB / 0.567 GB, free: 34.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3136, allocations: 59.69 kB / 0.5671 GB, free: 34.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.3141, allocations: 198.3 kB / 0.5673 GB, free: 34.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.3143, allocations: 261.4 kB / 0.5675 GB, free: 34.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003984/0.3147, allocations: 0.5966 MB / 0.5681 GB, free: 34.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3157, allocations: 1.553 MB / 0.5696 GB, free: 33.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3157, allocations: 0 / 0.5696 GB, free: 33.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.3157, allocations: 0 / 0.5696 GB, free: 33.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3157, allocations: 0 / 0.5696 GB, free: 33.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.006981/0.3227, allocations: 2.434 MB / 0.572 GB, free: 32.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3228, allocations: 11.38 kB / 0.572 GB, free: 32.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.3229, allocations: 120.6 kB / 0.5721 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004566/0.3275, allocations: 0.7768 MB / 0.5729 GB, free: 32.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.3287, allocations: 0.8853 MB / 0.5738 GB, free: 31.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.3289, allocations: 255.9 kB / 0.574 GB, free: 31.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.3291, allocations: 87.59 kB / 0.5741 GB, free: 31.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.3308, allocations: 1.08 MB / 0.5751 GB, free: 31.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3308, allocations: 5.25 kB / 0.5751 GB, free: 31.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.3309, allocations: 29.97 kB / 0.5752 GB, free: 31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.3309, allocations: 18.56 kB / 0.5752 GB, free: 31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.3326, allocations: 0.9915 MB / 0.5762 GB, free: 30.67 MB / 426.7 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.005116/0.3377, allocations: 3.805 MB / 0.5799 GB, free: 28.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006563/0.3443, allocations: 2.382 MB / 0.5822 GB, free: 27.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.3455, allocations: 0.6755 MB / 0.5829 GB, free: 27.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.99e-05/0.3456, allocations: 16.03 kB / 0.5829 GB, free: 27.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/0.3469, allocations: 0.8126 MB / 0.5837 GB, free: 27.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 2.765e-06/0.3469, allocations: 0 / 0.5837 GB, free: 27.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.02536/0.3723, allocations: 7.185 MB / 0.5907 GB, free: 25.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.3724, allocations: 123.4 kB / 0.5908 GB, free: 25.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.374, allocations: 1.088 MB / 0.5919 GB, free: 25.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.3742, allocations: 48.02 kB / 0.5919 GB, free: 25.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.3745, allocations: 0.4906 MB / 0.5924 GB, free: 24.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.3748, allocations: 346.9 kB / 0.5927 GB, free: 24.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.375, allocations: 143.6 kB / 0.5929 GB, free: 24.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.375, allocations: 303.1 kB / 0.5932 GB, free: 24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.3766, allocations: 0.7573 MB / 0.5939 GB, free: 23.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.3783, allocations: 0.9265 MB / 0.5948 GB, free: 23.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02247/0.4007, allocations: 5.551 MB / 0.6002 GB, free: 21.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.4008, allocations: 0 / 0.6002 GB, free: 21.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01354/0.4143, allocations: 4.365 MB / 0.6045 GB, free: 19.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.4144, allocations: 67.61 kB / 0.6045 GB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.4145, allocations: 3.219 kB / 0.6045 GB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/0.4199, allocations: 1.585 MB / 0.6061 GB, free: 19.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.4213, allocations: 278.4 kB / 0.6064 GB, free: 19.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/0.4385, allocations: 7.855 MB / 0.614 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.4404, allocations: 202.7 kB / 0.6142 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/0.4406, allocations: 55.97 kB / 0.6143 GB, free: 13.29 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006353/0.4413, allocations: 298.8 kB / 0.6146 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.4416, allocations: 126.5 kB / 0.6147 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.453, allocations: 3.873 MB / 0.6185 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.4531, allocations: 8 kB / 0.6185 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.82e-05/0.4531, allocations: 8 kB / 0.6185 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/0.4531, allocations: 3.984 kB / 0.6185 GB, free: 8.934 MB / 426.7 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.01377/0.4669, allocations: 5.451 MB / 0.6238 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.467, allocations: 0 / 0.6238 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/0.4676, allocations: 95.89 kB / 0.6239 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00491/0.4725, allocations: 1.61 MB / 0.6255 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/0.4727, allocations: 20 kB / 0.6255 GB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01857/0.4913, allocations: 8.78 MB / 0.6341 GB, free: 8.582 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4913, allocations: 11.94 kB / 0.6341 GB, free: 8.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/0.5053, allocations: 4.729 MB / 0.6387 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/0.5061, allocations: 227.3 kB / 0.6389 GB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003713/0.5065, allocations: 20 kB / 0.6389 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.5078, allocations: 103.9 kB / 0.639 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006227/0.5084, allocations: 188.7 kB / 0.6392 GB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.691e-05/0.5085, allocations: 31.98 kB / 0.6392 GB, free: 3.227 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001054/0.5095, allocations: 0.7276 MB / 0.6399 GB, free: 2.492 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5096, allocations: 0 / 0.6399 GB, free: 2.492 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00146/0.511, allocations: 475.5 kB / 0.6404 GB, free: 2.027 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.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 (63): * Single equations (assignments): 60 * 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.01407/0.5251, allocations: 5.318 MB / 0.6456 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006039/0.5312, allocations: 2.511 MB / 0.648 GB, free: 10.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.5312, allocations: 0 / 0.648 GB, free: 10.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004033/0.5353, allocations: 1.588 MB / 0.6496 GB, free: 8.488 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5363, allocations: 117.1 kB / 0.6497 GB, free: 8.375 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03845/0.5748, allocations: 17.14 MB / 0.6664 GB, free: 6.793 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006541/0.5755, allocations: 1.124 MB / 0.6675 GB, free: 5.641 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005545/0.576, allocations: 120 kB / 0.6677 GB, free: 5.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005758/0.5766, allocations: 475.2 kB / 0.6681 GB, free: 5.055 MB / 474.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5766, allocations: 0 / 0.6681 GB, free: 5.055 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04938/0.626, allocations: 31.14 MB / 0.6985 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.6263, allocations: 250.6 kB / 0.6988 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.464, allocations: 0 / 0.6988 GB, free: 5.891 MB / 0.4948 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)