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/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.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.001202/0.001202, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.203/1.203, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009182/0.0009184, allocations: 92.47 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.467/0.467, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.071e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3238, allocations: 69.5 MB / 0.5492 GB, free: 19.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.443, allocations: 102.9 MB / 0.6497 GB, free: 12.67 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.4432, allocations: 79.95 kB / 0.6498 GB, free: 12.59 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5294/0.9727, allocations: 102.3 MB / 0.7497 GB, free: 57.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9727, allocations: 4 kB / 0.7497 GB, free: 57.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003605/0.9731, allocations: 91.88 kB / 0.7498 GB, free: 57.75 MB / 490.7 MB 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.01714/0.9903, allocations: 5.749 MB / 0.7554 GB, free: 51.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.9903, allocations: 15.91 kB / 0.7554 GB, free: 51.91 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001222/0.9915, allocations: 484.8 kB / 0.7559 GB, free: 51.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/1.008, allocations: 2.783 MB / 0.7586 GB, free: 48.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005035/1.013, allocations: 2.263 MB / 0.7608 GB, free: 46.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007123/1.014, allocations: 0.9847 MB / 0.7618 GB, free: 45.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/1.015, allocations: 347.9 kB / 0.7621 GB, free: 44.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006454/1.021, allocations: 4.084 MB / 0.7661 GB, free: 40.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.311e-05/1.021, allocations: 3.938 kB / 0.7661 GB, free: 40.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/1.022, allocations: 144 kB / 0.7662 GB, free: 40.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/1.022, allocations: 84 kB / 0.7663 GB, free: 40.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005719/1.027, allocations: 3.613 MB / 0.7698 GB, free: 36.87 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.03308/1.06, allocations: 18.62 MB / 0.788 GB, free: 17.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009895/1.07, allocations: 4.805 MB / 0.7927 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003939/1.074, allocations: 2.22 MB / 0.7949 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000688/1.075, allocations: 70.89 kB / 0.7949 GB, free: 9.871 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005118/1.08, allocations: 2.592 MB / 0.7975 GB, free: 7.238 MB / 490.7 MB Notification: Performance of pre-optimization done (n=383): time 9.027e-06/1.08, allocations: 8 kB / 0.7975 GB, free: 7.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=383): time 0.05182/1.132, allocations: 17.58 MB / 0.8146 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.767e-05/1.132, allocations: 141.8 kB / 0.8148 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004441/1.137, allocations: 2.645 MB / 0.8174 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/1.138, allocations: 89.7 kB / 0.8174 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001683/1.139, allocations: 2.002 MB / 0.8194 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002166/1.142, allocations: 1.305 MB / 0.8207 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/1.142, allocations: 72 kB / 0.8207 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002259/1.142, allocations: 445.8 kB / 0.8212 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003246/1.145, allocations: 1.831 MB / 0.823 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003616/1.149, allocations: 2.41 MB / 0.8253 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/1.153, allocations: 2.099 MB / 0.8274 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/1.153, allocations: 4 kB / 0.8274 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05099/1.204, allocations: 17.74 MB / 0.8447 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.424e-05/1.204, allocations: 67.39 kB / 0.8447 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/1.204, allocations: 16 kB / 0.8448 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/1.227, allocations: 6.961 MB / 0.8516 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003041/1.23, allocations: 0.5616 MB / 0.8521 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05784/1.288, allocations: 25.75 MB / 0.8773 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006296/1.294, allocations: 0.7191 MB / 0.878 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007511/1.295, allocations: 132 kB / 0.8781 GB, free: 4.043 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009065/1.296, allocations: 335 kB / 0.8784 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.297, allocations: 462.3 kB / 0.8788 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05029/1.347, allocations: 18.11 MB / 0.8965 GB, free: 1.055 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-05/1.348, allocations: 36 kB / 0.8966 GB, free: 1.02 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.544e-05/1.348, allocations: 28 kB / 0.8966 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000117/1.348, allocations: 19.94 kB / 0.8966 GB, free: 0.9727 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.4037/1.751, allocations: 23.09 MB / 0.9192 GB, free: 134.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/1.751, allocations: 3.875 kB / 0.9192 GB, free: 134.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.754, allocations: 384 kB / 0.9195 GB, free: 134.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02088/1.775, allocations: 7.058 MB / 0.9264 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001048/1.776, allocations: 75.77 kB / 0.9265 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04971/1.826, allocations: 24.52 MB / 0.9504 GB, free: 127.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.826, allocations: 0 / 0.9504 GB, free: 127.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05135/1.877, allocations: 20.94 MB / 0.9709 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/1.879, allocations: 0.5607 MB / 0.9714 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/1.88, allocations: 67.61 kB / 0.9715 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004389/1.884, allocations: 0.5049 MB / 0.972 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003044/1.887, allocations: 0.7804 MB / 0.9728 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004022/1.888, allocations: 95.56 kB / 0.9729 GB, free: 116.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002779/1.89, allocations: 2.008 MB / 0.9748 GB, free: 114.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.463e-06/1.89, allocations: 0 / 0.9748 GB, free: 114.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005342/1.896, allocations: 1.76 MB / 0.9765 GB, free: 112.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05207/1.948, allocations: 21.69 MB / 0.9977 GB, free: 94.68 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02208/1.97, allocations: 8.228 MB / 1.006 GB, free: 87.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.97, allocations: 4.062 kB / 1.006 GB, free: 87.19 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01714/1.987, allocations: 6.144 MB / 1.012 GB, free: 81.74 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/1.991, allocations: 298.9 kB / 1.012 GB, free: 81.45 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/2.007, allocations: 6.562 MB / 1.018 GB, free: 75.59 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/2.008, allocations: 2.533 MB / 1.021 GB, free: 73.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001596/2.01, allocations: 301.2 kB / 1.021 GB, free: 73.49 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/2.012, allocations: 1.934 MB / 1.023 GB, free: 71.71 MB / 0.573 GB Notification: Performance of SimCode: time 8.91e-07/2.012, allocations: 0 / 1.023 GB, free: 71.71 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4705/2.483, allocations: 113.5 MB / 1.134 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/2.483, allocations: 185.6 kB / 1.134 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.383/8.866, allocations: 0 / 1.134 GB, free: 155.5 MB / 0.5886 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)