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.001368/0.001368, allocations: 174.6 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.443/1.443, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.001044/0.001045, allocations: 93.28 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4999/0.4999, allocations: 78.09 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.743e-05, allocations: 4 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3812, allocations: 69.33 MB / 0.5481 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.4997, allocations: 98.51 MB / 0.6443 GB, free: 2.031 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.4999, allocations: 87.94 kB / 0.6444 GB, free: 1.945 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08454/0.5845, allocations: 31.27 MB / 0.6749 GB, free: 2.469 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5845, allocations: 0 / 0.6749 GB, free: 2.469 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.687e-05/0.5846, allocations: 20 kB / 0.6749 GB, free: 2.449 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004281/0.5888, allocations: 1.703 MB / 0.6766 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.5889, allocations: 11.97 kB / 0.6766 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.5891, allocations: 126.6 kB / 0.6767 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.322/0.9111, allocations: 0.5608 MB / 0.6773 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.9137, allocations: 0.7577 MB / 0.678 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/0.914, allocations: 260.4 kB / 0.6783 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.9143, allocations: 82.3 kB / 0.6783 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.9162, allocations: 0.9304 MB / 0.6792 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.9162, allocations: 4.797 kB / 0.6793 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-05/0.9163, allocations: 35.22 kB / 0.6793 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.9164, allocations: 17.97 kB / 0.6793 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.918, allocations: 0.8402 MB / 0.6801 GB, free: 103.7 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.008171/0.9262, allocations: 3.788 MB / 0.6838 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008045/0.9343, allocations: 2.651 MB / 0.6864 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008851/0.9352, allocations: 0.5399 MB / 0.6869 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.9353, allocations: 17.55 kB / 0.687 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009594/0.9362, allocations: 0.6699 MB / 0.6876 GB, free: 102.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.555e-06/0.9363, allocations: 0 / 0.6876 GB, free: 102.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01176/0.948, allocations: 4.028 MB / 0.6915 GB, free: 101.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.9481, allocations: 111 kB / 0.6917 GB, free: 101.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.9494, allocations: 0.8923 MB / 0.6925 GB, free: 101.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001889/0.9496, allocations: 41.55 kB / 0.6926 GB, free: 101.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.9499, allocations: 0.5103 MB / 0.6931 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.9502, allocations: 334.8 kB / 0.6934 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.9503, allocations: 19.25 kB / 0.6934 GB, free: 100.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.9504, allocations: 350 kB / 0.6937 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.9511, allocations: 455.3 kB / 0.6942 GB, free: 100.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/0.9518, allocations: 0.5746 MB / 0.6947 GB, free: 99.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007882/0.9526, allocations: 0.552 MB / 0.6953 GB, free: 99.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9526, allocations: 0 / 0.6953 GB, free: 99.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01183/0.9645, allocations: 4.094 MB / 0.6993 GB, free: 98.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/0.9646, allocations: 58.84 kB / 0.6993 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.9646, allocations: 3.531 kB / 0.6993 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005493/0.9701, allocations: 1.527 MB / 0.7008 GB, free: 98.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.9712, allocations: 192 kB / 0.701 GB, free: 98.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.984, allocations: 6.772 MB / 0.7076 GB, free: 94.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.9858, allocations: 204.8 kB / 0.7078 GB, free: 94.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.2e-05/0.9859, allocations: 41.42 kB / 0.7078 GB, free: 94.41 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002548/0.9862, allocations: 194.1 kB / 0.708 GB, free: 94.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.9864, allocations: 134.4 kB / 0.7082 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.9977, allocations: 4.141 MB / 0.7122 GB, free: 90.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.9978, allocations: 11.94 kB / 0.7122 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.9978, allocations: 15.45 kB / 0.7122 GB, free: 90.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/0.9978, allocations: 3.562 kB / 0.7122 GB, free: 90.84 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 postOpt removeSimpleEquations (simulation): time 0.01333/1.011, allocations: 5.701 MB / 0.7178 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.011, allocations: 0 / 0.7178 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000736/1.012, allocations: 98.75 kB / 0.7179 GB, free: 86.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005184/1.017, allocations: 1.507 MB / 0.7194 GB, free: 85.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/1.017, allocations: 20 kB / 0.7194 GB, free: 85.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/1.03, allocations: 7.701 MB / 0.7269 GB, free: 77.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.03, allocations: 3.438 kB / 0.7269 GB, free: 77.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.042, allocations: 4.879 MB / 0.7317 GB, free: 73.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/1.042, allocations: 227.3 kB / 0.7319 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/1.042, allocations: 16 kB / 0.7319 GB, free: 73.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.044, allocations: 147.9 kB / 0.732 GB, free: 73.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005494/1.044, allocations: 200.7 kB / 0.7322 GB, free: 72.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.562e-05/1.044, allocations: 24 kB / 0.7323 GB, free: 72.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008082/1.045, allocations: 0.6859 MB / 0.7329 GB, free: 72.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.045, allocations: 0 / 0.7329 GB, free: 72.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0012/1.046, allocations: 441 kB / 0.7334 GB, free: 71.68 MB / 490.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 () * 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 (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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01219/1.059, allocations: 5.542 MB / 0.7388 GB, free: 66.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004516/1.063, allocations: 2.059 MB / 0.7408 GB, free: 64.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.063, allocations: 0 / 0.7408 GB, free: 64.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003632/1.067, allocations: 1.585 MB / 0.7423 GB, free: 62.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/1.068, allocations: 112.1 kB / 0.7424 GB, free: 62.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/1.072, allocations: 1.874 MB / 0.7443 GB, free: 60.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/1.072, allocations: 1.139 MB / 0.7454 GB, free: 59.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003755/1.073, allocations: 98.14 kB / 0.7455 GB, free: 59.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/1.073, allocations: 483.3 kB / 0.7459 GB, free: 58.65 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/1.073, allocations: 0 / 0.7459 GB, free: 58.65 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04414/1.117, allocations: 30.84 MB / 0.776 GB, free: 28.36 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/1.117, allocations: 188.3 kB / 0.7762 GB, free: 28.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/4.082, allocations: 3.938 kB / 0.7762 GB, free: 28.14 MB / 490.7 MB (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)