Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_IEEE14_IEEE_14_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_release_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.001481/0.001481, allocations: 175 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.331/1.331, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.000834/0.000834, allocations: 93.34 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.4377/0.4377, allocations: 78.08 MB / 414.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.112e-05, allocations: 0 / 491.9 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2925, allocations: 69.33 MB / 0.5481 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.4111, allocations: 105.1 MB / 0.6507 GB, free: 11.41 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001626/0.4113, allocations: 67.97 kB / 0.6508 GB, free: 11.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6189/1.03, allocations: 139.2 MB / 0.7867 GB, free: 19.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.03, allocations: 0 / 0.7867 GB, free: 19.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006527/1.031, allocations: 107.9 kB / 0.7868 GB, free: 19.89 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.02113/1.052, allocations: 6.579 MB / 0.7932 GB, free: 13.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.052, allocations: 15.97 kB / 0.7932 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001997/1.054, allocations: 480.6 kB / 0.7937 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/1.069, allocations: 2.392 MB / 0.796 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009528/1.079, allocations: 3.23 MB / 0.7992 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009922/1.08, allocations: 0.969 MB / 0.8001 GB, free: 5.883 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/1.082, allocations: 371.8 kB / 0.8005 GB, free: 5.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/1.095, allocations: 4.379 MB / 0.8047 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/1.095, allocations: 0 / 0.8047 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001577/1.097, allocations: 148 kB / 0.8049 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/1.097, allocations: 87.95 kB / 0.805 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/1.112, allocations: 4.112 MB / 0.809 GB, free: 12.75 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.05309/1.165, allocations: 17.61 MB / 0.8262 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02131/1.187, allocations: 10.25 MB / 0.8362 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006645/1.194, allocations: 2.923 MB / 0.8391 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008542/1.194, allocations: 67.58 kB / 0.8391 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007367/1.202, allocations: 3.238 MB / 0.8423 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=476): time 9.277e-06/1.202, allocations: 0 / 0.8423 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476): time 0.05947/1.261, allocations: 17.12 MB / 0.859 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/1.262, allocations: 360.1 kB / 0.8593 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00759/1.269, allocations: 3.856 MB / 0.8631 GB, free: 3.941 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00152/1.271, allocations: 109.8 kB / 0.8632 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001883/1.273, allocations: 2.199 MB / 0.8654 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002687/1.275, allocations: 1.66 MB / 0.867 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/1.276, allocations: 92 kB / 0.8671 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002885/1.276, allocations: 484.3 kB / 0.8675 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004296/1.28, allocations: 2.279 MB / 0.8698 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004524/1.285, allocations: 2.729 MB / 0.8724 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004641/1.29, allocations: 2.798 MB / 0.8752 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/1.29, allocations: 4 kB / 0.8752 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.05241/1.342, allocations: 17.28 MB / 0.892 GB, free: 5.844 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/1.342, allocations: 285.2 kB / 0.8923 GB, free: 5.504 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/1.342, allocations: 8 kB / 0.8923 GB, free: 5.496 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3452/1.687, allocations: 12.75 MB / 0.9048 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004463/1.692, allocations: 0.7484 MB / 0.9055 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07338/1.765, allocations: 34.44 MB / 0.9391 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007049/1.772, allocations: 0.7932 MB / 0.9399 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006908/1.773, allocations: 164.7 kB / 0.9401 GB, free: 117 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.000971/1.774, allocations: 493.4 kB / 0.9405 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/1.775, allocations: 0.5631 MB / 0.9411 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04961/1.825, allocations: 17.71 MB / 0.9584 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/1.825, allocations: 51 kB / 0.9584 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.825, allocations: 0 / 0.9584 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001265/1.825, allocations: 29.75 kB / 0.9584 GB, free: 112.4 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.06354/1.889, allocations: 27.08 MB / 0.9849 GB, free: 97.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.783e-05/1.889, allocations: 0 / 0.9849 GB, free: 97.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002997/1.892, allocations: 408.1 kB / 0.9853 GB, free: 96.81 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02843/1.92, allocations: 10.18 MB / 0.9952 GB, free: 88.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001235/1.922, allocations: 107 kB / 0.9953 GB, free: 88.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06601/1.988, allocations: 36.36 MB / 1.031 GB, free: 54.89 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.988, allocations: 2.906 kB / 1.031 GB, free: 54.89 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05528/2.043, allocations: 21.3 MB / 1.052 GB, free: 37.09 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002395/2.045, allocations: 0.7827 MB / 1.052 GB, free: 36.41 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002403/2.048, allocations: 92 kB / 1.052 GB, free: 36.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007223/2.055, allocations: 0.5542 MB / 1.053 GB, free: 35.89 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003623/2.059, allocations: 0.8246 MB / 1.054 GB, free: 35.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007819/2.059, allocations: 129.3 kB / 1.054 GB, free: 35.32 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004657/2.064, allocations: 2.928 MB / 1.057 GB, free: 32.62 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-07/2.064, allocations: 4 kB / 1.057 GB, free: 32.62 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007706/2.072, allocations: 2.063 MB / 1.059 GB, free: 30.62 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.05536/2.127, allocations: 22.29 MB / 1.081 GB, free: 11.69 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02385/2.151, allocations: 9.813 MB / 1.09 GB, free: 2.504 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/2.151, allocations: 0 / 1.09 GB, free: 2.504 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01994/2.171, allocations: 7.586 MB / 1.098 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/2.176, allocations: 470.4 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.024/2.2, allocations: 10.12 MB / 1.108 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/2.202, allocations: 2.955 MB / 1.111 GB, free: 64 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003205/2.205, allocations: 478.6 kB / 1.111 GB, free: 0 / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01061/2.216, allocations: 2.91 MB / 1.114 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of SimCode: time 1.162e-06/2.216, allocations: 4 kB / 1.114 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5258/2.742, allocations: 156.6 MB / 1.267 GB, free: 81.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/2.742, allocations: 178.5 kB / 1.267 GB, free: 81.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.486/12.23, allocations: 0 / 1.267 GB, free: 81.64 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_IEEE14_IEEE_14_Buses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_IEEE14_IEEE_14_Buses.fmu > OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)