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.006108/0.006108, allocations: 169.3 kB / 15.11 MB, free: 5.973 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.38/1.38, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009899/0.0009899, allocations: 97.91 kB / 290.2 MB, free: 4.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4906/0.4906, allocations: 78.52 MB / 419.8 MB, free: 36.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003813, allocations: 16 kB / 499.8 MB, free: 6.992 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 69.35 MB / 0.5558 GB, free: 1.656 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.5484, allocations: 105.1 MB / 0.6585 GB, free: 13.12 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.5486, allocations: 71.78 kB / 0.6586 GB, free: 13.08 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3617/0.9104, allocations: 139.4 MB / 0.7947 GB, free: 1.305 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9104, allocations: 4 kB / 0.7947 GB, free: 1.301 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0007655/0.9112, allocations: 107.9 kB / 0.7948 GB, free: 1.195 MB / 0.573 GB 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.3311/1.242, allocations: 8 MB / 0.8026 GB, free: 83 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.242, allocations: 9.25 kB / 0.8026 GB, free: 83 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002188/1.245, allocations: 482.2 kB / 0.8031 GB, free: 82.95 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/1.261, allocations: 2.404 MB / 0.8054 GB, free: 82.59 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/1.272, allocations: 3.392 MB / 0.8087 GB, free: 81.91 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009957/1.273, allocations: 0.9748 MB / 0.8097 GB, free: 81.22 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/1.275, allocations: 364.5 kB / 0.81 GB, free: 81.21 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/1.289, allocations: 5.09 MB / 0.815 GB, free: 81 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.446e-05/1.29, allocations: 3 kB / 0.815 GB, free: 81 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00059/1.29, allocations: 144.5 kB / 0.8151 GB, free: 81 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/1.29, allocations: 84.12 kB / 0.8152 GB, free: 81 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/1.302, allocations: 4.848 MB / 0.8199 GB, free: 80.97 MB / 0.573 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 preOpt removeSimpleEquations (simulation): time 0.03792/1.34, allocations: 17.61 MB / 0.8371 GB, free: 77.25 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/1.361, allocations: 10.99 MB / 0.8479 GB, free: 73.48 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008682/1.362, allocations: 69.48 kB / 0.8479 GB, free: 73.48 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008621/1.371, allocations: 3.918 MB / 0.8518 GB, free: 73.29 MB / 0.573 GB Notification: Performance of pre-optimization done (n=476): time 1.301e-05/1.371, allocations: 0 / 0.8518 GB, free: 73.29 MB / 0.573 GB Notification: Performance of matching and sorting (n=476): time 0.07167/1.442, allocations: 23.24 MB / 0.8745 GB, free: 71.29 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.443, allocations: 369.9 kB / 0.8748 GB, free: 70.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00751/1.45, allocations: 4.037 MB / 0.8788 GB, free: 69.44 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001295/1.451, allocations: 110.3 kB / 0.8789 GB, free: 69.34 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.453, allocations: 2.193 MB / 0.881 GB, free: 67.61 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002533/1.456, allocations: 1.653 MB / 0.8826 GB, free: 66.31 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006169/1.456, allocations: 89.75 kB / 0.8827 GB, free: 66.24 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002764/1.456, allocations: 493.6 kB / 0.8832 GB, free: 65.85 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005879/1.462, allocations: 2.961 MB / 0.8861 GB, free: 64.75 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007501/1.47, allocations: 3.41 MB / 0.8894 GB, free: 63.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007227/1.477, allocations: 3.484 MB / 0.8928 GB, free: 61.44 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/1.477, allocations: 0 / 0.8928 GB, free: 61.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.0546/1.532, allocations: 19.27 MB / 0.9116 GB, free: 56.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000196/1.532, allocations: 284.2 kB / 0.9119 GB, free: 56.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/1.532, allocations: 8.188 kB / 0.9119 GB, free: 56.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03563/1.568, allocations: 14.05 MB / 0.9256 GB, free: 52.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004649/1.572, allocations: 0.7462 MB / 0.9263 GB, free: 52.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09515/1.668, allocations: 44.08 MB / 0.9694 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007984/1.676, allocations: 0.8032 MB / 0.9702 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.677, allocations: 158.5 kB / 0.9703 GB, free: 13.54 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" fixed = true ) "d-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e2q:VARIABLE(start = groupBus1_1.Syn1.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e1q:VARIABLE(start = groupBus1_1.Syn1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real groupBus1_1.Syn1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus1_1.Syn1.delta:VARIABLE(start = groupBus1_1.Syn1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real groupBus8_1.Syn4.e2d:VARIABLE(start = groupBus8_1.Syn4.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real groupBus8_1.Syn4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus8_1.Syn4.delta:VARIABLE(start = groupBus8_1.Syn4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real groupBus6_1.Syn5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus3_1.Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus2_1.Syn3.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked 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.003275/1.68, allocations: 0.9567 MB / 0.9713 GB, free: 12.61 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001982/1.682, allocations: 0.5632 MB / 0.9718 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05761/1.74, allocations: 19.82 MB / 0.9912 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-05/1.74, allocations: 48 kB / 0.9912 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.74, allocations: 3.719 kB / 0.9912 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001675/1.74, allocations: 25.61 kB / 0.9912 GB, free: 12.88 MB / 0.5886 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.08525/1.825, allocations: 29.6 MB / 1.02 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/1.825, allocations: 0 / 1.02 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003107/1.829, allocations: 407.5 kB / 1.021 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3387/2.167, allocations: 11.48 MB / 1.032 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001637/2.169, allocations: 106 kB / 1.032 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1014/2.27, allocations: 45.36 MB / 1.076 GB, free: 95.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.27, allocations: 0 / 1.076 GB, free: 95.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06798/2.338, allocations: 23.98 MB / 1.1 GB, free: 93.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004175/2.343, allocations: 0.784 MB / 1.1 GB, free: 93.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003593/2.346, allocations: 94.06 kB / 1.1 GB, free: 93.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007914/2.354, allocations: 0.5491 MB / 1.101 GB, free: 93.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004594/2.359, allocations: 0.8226 MB / 1.102 GB, free: 93.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008923/2.36, allocations: 126.6 kB / 1.102 GB, free: 93.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.006178/2.366, allocations: 3.105 MB / 1.105 GB, free: 93.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.71e-07/2.366, allocations: 0 / 1.105 GB, free: 93.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008865/2.375, allocations: 2.062 MB / 1.107 GB, free: 93.27 MB / 0.6042 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 () * Number of clocked 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.06355/2.438, allocations: 24.96 MB / 1.131 GB, free: 87.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02898/2.467, allocations: 11.26 MB / 1.142 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/2.468, allocations: 2.594 kB / 1.142 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02263/2.49, allocations: 8.357 MB / 1.15 GB, free: 79.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005278/2.495, allocations: 465 kB / 1.151 GB, free: 79.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03553/2.531, allocations: 20.7 MB / 1.171 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/2.533, allocations: 2.96 MB / 1.174 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002664/2.536, allocations: 383.4 kB / 1.174 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00343/2.54, allocations: 2.354 MB / 1.177 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/2.54, allocations: 0 / 1.177 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4868/3.026, allocations: 153.8 MB / 1.327 GB, free: 87.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/3.027, allocations: 199.4 kB / 1.327 GB, free: 86.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/13.08, allocations: 3.875 kB / 1.327 GB, free: 86.96 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)