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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.001327/0.001327, 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.311/1.311, allocations: 222.9 MB / 239.3 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.001363/0.001363, allocations: 192.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5028/0.5028, allocations: 91.91 MB / 431.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 87.86 kB / 0.502 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2938, allocations: 71.26 MB / 0.5716 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01422/0.3081, allocations: 21.73 MB / 0.5928 GB, free: 21.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.3203, allocations: 4.863 MB / 0.5975 GB, free: 18.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00313/0.3235, allocations: 43.44 kB / 0.5976 GB, free: 18.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.3254, allocations: 0.8767 MB / 0.5984 GB, free: 17.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.3307, allocations: 2.035 MB / 0.6004 GB, free: 16.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004249/0.3349, allocations: 2.052 MB / 0.6024 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00635/0.3413, allocations: 5.667 MB / 0.608 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.3431, allocations: 1.328 MB / 0.6093 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.3463, allocations: 2.312 MB / 0.6115 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003619/0.35, allocations: 2.939 MB / 0.6144 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.351, allocations: 436.9 kB / 0.6148 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.3527, allocations: 0.5751 MB / 0.6154 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008677/0.3536, allocations: 1.152 MB / 0.6165 GB, free: 8.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002993/0.3566, allocations: 2.612 MB / 0.619 GB, free: 6.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007188/0.3638, allocations: 6.151 MB / 0.6251 GB, free: 3.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3638, allocations: 0 / 0.6251 GB, free: 3.523 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3639, allocations: 1.25 kB / 0.6251 GB, free: 3.523 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000212/0.3641, allocations: 0 / 0.6251 GB, free: 3.523 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.03249/0.3966, allocations: 9.153 MB / 0.634 GB, free: 14.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3966, allocations: 8.031 kB / 0.634 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006715/0.3973, allocations: 488.8 kB / 0.6345 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0272/0.4245, allocations: 4.009 MB / 0.6384 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005769/0.4303, allocations: 2.654 MB / 0.641 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008895/0.4312, allocations: 0.9573 MB / 0.6419 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008685/0.4321, allocations: 347.9 kB / 0.6422 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009459/0.4416, allocations: 4.727 MB / 0.6469 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/0.4417, allocations: 0 / 0.6469 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004043/0.4421, allocations: 140 kB / 0.647 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-05/0.4421, allocations: 84 kB / 0.6471 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00874/0.4509, allocations: 4.244 MB / 0.6512 GB, free: 12.64 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.03465/0.4856, allocations: 18.31 MB / 0.6691 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/0.4983, allocations: 4.992 MB / 0.674 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006113/0.5044, allocations: 2.781 MB / 0.6767 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004565/0.5049, allocations: 70.91 kB / 0.6768 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006615/0.5115, allocations: 3.173 MB / 0.6799 GB, free: 14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=382): time 5.41e-06/0.5116, allocations: 3.938 kB / 0.6799 GB, free: 14 MB / 494.1 MB Notification: Performance of matching and sorting (n=382): time 0.3147/0.8263, allocations: 68.2 MB / 0.7465 GB, free: 9.605 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.418e-05/0.8264, allocations: 149.8 kB / 0.7466 GB, free: 9.434 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005457/0.8319, allocations: 3.226 MB / 0.7498 GB, free: 6.188 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009577/0.8329, allocations: 89.7 kB / 0.7498 GB, free: 6.094 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.8345, allocations: 1.97 MB / 0.7518 GB, free: 4.109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002156/0.8366, allocations: 1.305 MB / 0.753 GB, free: 2.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002184/0.8388, allocations: 0.6664 MB / 0.7537 GB, free: 2.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.8389, allocations: 317 kB / 0.754 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005828/0.8448, allocations: 2.573 MB / 0.7565 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00685/0.8516, allocations: 3.213 MB / 0.7596 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2764/1.128, allocations: 18.81 MB / 0.778 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/1.128, allocations: 5.281 kB / 0.778 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05593/1.184, allocations: 16.93 MB / 0.7945 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/1.184, allocations: 65.08 kB / 0.7946 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/1.184, allocations: 14.69 kB / 0.7946 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02635/1.211, allocations: 7.247 MB / 0.8017 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/1.214, allocations: 0.6606 MB / 0.8023 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07983/1.294, allocations: 33.76 MB / 0.8353 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006538/1.3, allocations: 0.6141 MB / 0.8359 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006136/1.301, allocations: 152 kB / 0.8361 GB, free: 132.5 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.00172/1.303, allocations: 0.6679 MB / 0.8367 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.304, allocations: 454.4 kB / 0.8371 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05195/1.356, allocations: 16.84 MB / 0.8536 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/1.356, allocations: 36 kB / 0.8536 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.594e-05/1.356, allocations: 28 kB / 0.8537 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/1.356, allocations: 23.92 kB / 0.8537 GB, free: 114.4 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.05709/1.413, allocations: 21.82 MB / 0.875 GB, free: 92.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/1.413, allocations: 7.969 kB / 0.875 GB, free: 92.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.415, allocations: 387.5 kB / 0.8754 GB, free: 92.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0242/1.439, allocations: 7.39 MB / 0.8826 GB, free: 84.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00126/1.441, allocations: 67.98 kB / 0.8826 GB, free: 84.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07395/1.515, allocations: 31.84 MB / 0.9137 GB, free: 52.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.515, allocations: 0 / 0.9137 GB, free: 52.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05817/1.573, allocations: 20.2 MB / 0.9335 GB, free: 32.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.574, allocations: 0.5532 MB / 0.934 GB, free: 31.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008653/1.575, allocations: 64 kB / 0.9341 GB, free: 31.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004065/1.579, allocations: 375.5 kB / 0.9344 GB, free: 31.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00263/1.582, allocations: 0.7805 MB / 0.9352 GB, free: 30.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002845/1.582, allocations: 99.98 kB / 0.9353 GB, free: 30.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002419/1.585, allocations: 2.109 MB / 0.9373 GB, free: 28.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/1.585, allocations: 0 / 0.9373 GB, free: 28.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004181/1.589, allocations: 1.794 MB / 0.9391 GB, free: 26.45 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.05822/1.647, allocations: 20.87 MB / 0.9595 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03075/1.678, allocations: 9.418 MB / 0.9687 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/1.678, allocations: 0 / 0.9687 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.02068/1.699, allocations: 6.184 MB / 0.9747 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/1.702, allocations: 385.8 kB / 0.9751 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3609/2.063, allocations: 67.65 MB / 1.041 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/2.064, allocations: 2.446 MB / 1.044 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001542/2.066, allocations: 374.6 kB / 1.044 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001887/2.068, allocations: 2.015 MB / 1.046 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/2.068, allocations: 1 kB / 1.046 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1539/2.222, allocations: 127.7 MB / 1.171 GB, free: 46.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/16.81, allocations: 11.89 kB / 1.171 GB, free: 46.39 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)