Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.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.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 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.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE14_IEEE_14_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE14_IEEE_14_Buses",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.0009959/0.0009959, allocations: 174.8 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.168/1.168, allocations: 221.4 MB / 234.6 MB, free: 14.41 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.0008985/0.0008987, allocations: 88.95 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4294/0.4294, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.217e-05, allocations: 4 kB / 491.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2822, allocations: 69.34 MB / 0.548 GB, free: 20.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.3989, allocations: 105.1 MB / 0.6507 GB, free: 11.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.3991, allocations: 79.95 kB / 0.6507 GB, free: 11.24 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5669/0.966, allocations: 139.2 MB / 0.7866 GB, free: 19.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.966, allocations: 4 kB / 0.7866 GB, free: 19.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00034/0.9664, allocations: 107.9 kB / 0.7867 GB, free: 19.73 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: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.01668/0.9831, allocations: 6.579 MB / 0.7932 GB, free: 13.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.9831, allocations: 11.97 kB / 0.7932 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001227/0.9844, allocations: 488.6 kB / 0.7936 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.998, allocations: 2.392 MB / 0.796 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006996/1.005, allocations: 3.23 MB / 0.7991 GB, free: 6.828 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000738/1.006, allocations: 0.969 MB / 0.8001 GB, free: 5.723 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/1.007, allocations: 363.8 kB / 0.8004 GB, free: 5.367 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007006/1.014, allocations: 4.391 MB / 0.8047 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.523e-05/1.014, allocations: 0 / 0.8047 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/1.014, allocations: 140 kB / 0.8048 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/1.014, allocations: 87.95 kB / 0.8049 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00703/1.021, allocations: 4.108 MB / 0.8089 GB, free: 12.6 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.0313/1.053, allocations: 17.61 MB / 0.8261 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01816/1.071, allocations: 10.25 MB / 0.8362 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005399/1.076, allocations: 2.918 MB / 0.839 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004979/1.077, allocations: 71.58 kB / 0.8391 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005553/1.082, allocations: 3.246 MB / 0.8422 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=476): time 6.342e-06/1.083, allocations: 3.938 kB / 0.8422 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476): time 0.05048/1.133, allocations: 17.11 MB / 0.859 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/1.133, allocations: 364.1 kB / 0.8593 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005873/1.139, allocations: 3.856 MB / 0.8631 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.14, allocations: 109.7 kB / 0.8632 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001587/1.142, allocations: 2.191 MB / 0.8653 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001898/1.144, allocations: 1.66 MB / 0.8669 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003425/1.144, allocations: 96 kB / 0.867 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002388/1.144, allocations: 492.3 kB / 0.8675 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003896/1.148, allocations: 2.275 MB / 0.8697 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/1.152, allocations: 2.725 MB / 0.8724 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004213/1.156, allocations: 2.801 MB / 0.8751 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/1.157, allocations: 4 kB / 0.8751 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.04899/1.206, allocations: 17.28 MB / 0.892 GB, free: 5.68 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.206, allocations: 277 kB / 0.8923 GB, free: 5.348 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.206, allocations: 8.875 kB / 0.8923 GB, free: 5.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3116/1.517, allocations: 12.76 MB / 0.9047 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004242/1.522, allocations: 0.7488 MB / 0.9055 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06768/1.589, allocations: 34.43 MB / 0.9391 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006688/1.596, allocations: 0.7978 MB / 0.9399 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009123/1.597, allocations: 165.1 kB / 0.94 GB, free: 116.8 MB / 0.573 GB Warning: Assuming fixed start value for the following 11 variables: groupBus1_1.Syn1.e2d:VARIABLE(start = groupBus1_1.Syn1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e2q:VARIABLE(start = groupBus1_1.Syn1.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e1q:VARIABLE(start = groupBus1_1.Syn1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real groupBus1_1.Syn1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus1_1.Syn1.delta:VARIABLE(start = groupBus1_1.Syn1.delta0 unit = "rad" ) "Rotor angle" type: Real groupBus8_1.Syn4.e2d:VARIABLE(start = groupBus8_1.Syn4.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real groupBus8_1.Syn4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus8_1.Syn4.delta:VARIABLE(start = groupBus8_1.Syn4.delta0 unit = "rad" ) "Rotor angle" type: Real groupBus6_1.Syn5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus3_1.Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus2_1.Syn3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 10 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {94 113} Notification: Performance of prepare postOptimizeDAE: time 0.001233/1.598, allocations: 498.2 kB / 0.9405 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/1.6, allocations: 0.5629 MB / 0.941 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04694/1.647, allocations: 17.7 MB / 0.9583 GB, free: 112.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/1.647, allocations: 47.41 kB / 0.9584 GB, free: 112.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.647, allocations: 0 / 0.9584 GB, free: 112.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/1.647, allocations: 29.89 kB / 0.9584 GB, free: 112.3 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.05508/1.702, allocations: 27.09 MB / 0.9849 GB, free: 96.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-05/1.702, allocations: 5.969 kB / 0.9849 GB, free: 96.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002574/1.705, allocations: 403.9 kB / 0.9853 GB, free: 96.55 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0265/1.731, allocations: 10.18 MB / 0.9952 GB, free: 88.05 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00129/1.732, allocations: 103.5 kB / 0.9953 GB, free: 87.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0608/1.793, allocations: 36.37 MB / 1.031 GB, free: 54.63 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.793, allocations: 0 / 1.031 GB, free: 54.63 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05204/1.845, allocations: 21.3 MB / 1.052 GB, free: 36.84 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.847, allocations: 0.775 MB / 1.052 GB, free: 36.17 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/1.849, allocations: 103.4 kB / 1.052 GB, free: 36.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00496/1.853, allocations: 0.5527 MB / 1.053 GB, free: 35.64 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002751/1.856, allocations: 0.8261 MB / 1.054 GB, free: 35.19 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003483/1.857, allocations: 122.8 kB / 1.054 GB, free: 35.07 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0037/1.86, allocations: 2.928 MB / 1.057 GB, free: 32.38 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.41e-07/1.86, allocations: 4 kB / 1.057 GB, free: 32.38 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005941/1.866, allocations: 2.058 MB / 1.059 GB, free: 30.38 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 49 (groupBus2_1.aVR1TypeII1.ExcitationSystem.x_scaled[1],groupBus2_1.aVR1TypeII1.derivativeBlock.x,groupBus2_1.aVR1TypeII1.firstOrder2.y,groupBus2_1.aVR1TypeII1.simpleLagLim.state,groupBus2_1.Syn3.delta,groupBus2_1.Syn3.w,groupBus2_1.Syn3.e1q,groupBus2_1.Syn3.e1d,groupBus2_1.Syn3.e2q,groupBus2_1.Syn3.e2d,groupBus3_1.aVR2TypeII2.ExcitationSystem.x_scaled[1],groupBus3_1.aVR2TypeII2.derivativeBlock.x,groupBus3_1.aVR2TypeII2.firstOrder2.y,groupBus3_1.aVR2TypeII2.simpleLagLim.state,groupBus3_1.Syn2.delta,groupBus3_1.Syn2.w,groupBus3_1.Syn2.e1q,groupBus3_1.Syn2.e1d,groupBus3_1.Syn2.e2q,groupBus3_1.Syn2.e2d,groupBus6_1.aVR4TypeII1.ExcitationSystem.x_scaled[1],groupBus6_1.aVR4TypeII1.derivativeBlock.x,groupBus6_1.aVR4TypeII1.firstOrder2.y,groupBus6_1.aVR4TypeII1.simpleLagLim.state,groupBus6_1.Syn5.delta,groupBus6_1.Syn5.w,groupBus6_1.Syn5.e1q,groupBus6_1.Syn5.e1d,groupBus6_1.Syn5.e2q,groupBus6_1.Syn5.e2d,groupBus8_1.aVR3TypeII2.ExcitationSystem.x_scaled[1],groupBus8_1.aVR3TypeII2.derivativeBlock.x,groupBus8_1.aVR3TypeII2.firstOrder2.y,groupBus8_1.aVR3TypeII2.simpleLagLim.state,groupBus8_1.Syn4.delta,groupBus8_1.Syn4.w,groupBus8_1.Syn4.e1q,groupBus8_1.Syn4.e1d,groupBus8_1.Syn4.e2q,groupBus8_1.Syn4.e2d,groupBus1_1.AVR1.ExcitationSystem.x_scaled[1],groupBus1_1.AVR1.derivativeBlock.x,groupBus1_1.AVR1.firstOrder2.y,groupBus1_1.AVR1.simpleLagLim.state,groupBus1_1.Syn1.delta,groupBus1_1.Syn1.w,groupBus1_1.Syn1.e1q,groupBus1_1.Syn1.e2q,groupBus1_1.Syn1.e2d) * Number of discrete variables: 10 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {110 94,1 6,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05106/1.917, allocations: 22.29 MB / 1.081 GB, free: 11.46 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02106/1.938, allocations: 9.817 MB / 1.09 GB, free: 2.27 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.938, allocations: 0 / 1.09 GB, free: 2.27 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01917/1.958, allocations: 7.678 MB / 1.098 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/1.962, allocations: 469.1 kB / 1.098 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/1.983, allocations: 10.12 MB / 1.108 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/1.985, allocations: 2.962 MB / 1.111 GB, free: 72 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00291/1.988, allocations: 472.7 kB / 1.111 GB, free: 0 / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01007/1.998, allocations: 2.945 MB / 1.114 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/1.998, allocations: 7.938 kB / 1.114 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4713/2.47, allocations: 156.5 MB / 1.267 GB, free: 81.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001329/2.47, allocations: 176.8 kB / 1.267 GB, free: 81.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/10.59, allocations: 0 / 1.267 GB, free: 81.35 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_IEEE14_IEEE_14_Buses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_IEEE14_IEEE_14_Buses.fmu > OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)