Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_IEEE14_IEEE_14_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_dev_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.0009836/0.0009836, 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.145/1.145, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0008373/0.0008373, allocations: 94.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.4348/0.4348, allocations: 78.91 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.325e-05, allocations: 0 / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3045, allocations: 69.5 MB / 0.5492 GB, free: 19.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4261, allocations: 105.7 MB / 0.6525 GB, free: 9.848 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4264, allocations: 79.94 kB / 0.6525 GB, free: 9.77 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.608/1.034, allocations: 140.3 MB / 0.7896 GB, free: 16.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.034, allocations: 0 / 0.7896 GB, free: 16.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006122/1.035, allocations: 107.9 kB / 0.7897 GB, free: 16.53 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.02031/1.055, allocations: 6.575 MB / 0.7961 GB, free: 9.824 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.055, allocations: 11.97 kB / 0.7961 GB, free: 9.812 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00235/1.058, allocations: 484.6 kB / 0.7966 GB, free: 9.328 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/1.072, allocations: 2.396 MB / 0.7989 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009155/1.081, allocations: 3.238 MB / 0.8021 GB, free: 3.621 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009628/1.082, allocations: 0.9768 MB / 0.803 GB, free: 2.508 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001873/1.084, allocations: 367.8 kB / 0.8034 GB, free: 2.148 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/1.097, allocations: 4.379 MB / 0.8077 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/1.097, allocations: 4 kB / 0.8077 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/1.098, allocations: 140 kB / 0.8078 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.622e-05/1.099, allocations: 87.89 kB / 0.8079 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009524/1.108, allocations: 4.112 MB / 0.8119 GB, free: 9.383 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.04015/1.148, allocations: 17.61 MB / 0.8291 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02001/1.168, allocations: 10.25 MB / 0.8391 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006025/1.174, allocations: 2.923 MB / 0.842 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007637/1.175, allocations: 67.58 kB / 0.842 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007423/1.183, allocations: 3.234 MB / 0.8452 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=476): time 1.179e-05/1.183, allocations: 0 / 0.8452 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476): time 0.05634/1.239, allocations: 17.11 MB / 0.8619 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/1.239, allocations: 372.1 kB / 0.8622 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.25, allocations: 3.856 MB / 0.866 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00171/1.251, allocations: 113.6 kB / 0.8661 GB, free: 476 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002589/1.254, allocations: 2.199 MB / 0.8683 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003274/1.257, allocations: 1.656 MB / 0.8699 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/1.259, allocations: 92 kB / 0.87 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004658/1.259, allocations: 484.3 kB / 0.8704 GB, free: 12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005371/1.265, allocations: 2.286 MB / 0.8727 GB, free: 9.707 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005764/1.271, allocations: 2.721 MB / 0.8753 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005892/1.276, allocations: 2.809 MB / 0.8781 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/1.276, allocations: 0 / 0.8781 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.0539/1.33, allocations: 17.28 MB / 0.8949 GB, free: 2.477 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001896/1.331, allocations: 281 kB / 0.8952 GB, free: 2.141 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/1.331, allocations: 4 kB / 0.8952 GB, free: 2.137 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3675/1.698, allocations: 12.76 MB / 0.9077 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004444/1.703, allocations: 0.7398 MB / 0.9084 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06698/1.77, allocations: 34.44 MB / 0.942 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006775/1.776, allocations: 0.8036 MB / 0.9428 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007879/1.777, allocations: 160.8 kB / 0.943 GB, free: 115.6 MB / 0.573 GB Warning: Assuming fixed start value for the following 11 variables: gen1.Syn1.e2d:VARIABLE(start = gen1.Syn1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real gen1.Syn1.e2q:VARIABLE(start = gen1.Syn1.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real gen1.Syn1.e1q:VARIABLE(start = gen1.Syn1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real gen1.Syn1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.Syn1.delta:VARIABLE(start = gen1.Syn1.delta0 unit = "rad" ) "Rotor angle" type: Real gen8.Syn4.e2d:VARIABLE(start = gen8.Syn4.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real gen8.Syn4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen8.Syn4.delta:VARIABLE(start = gen8.Syn4.delta0 unit = "rad" ) "Rotor angle" type: Real gen6.Syn5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.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.0009423/1.778, allocations: 0.4936 MB / 0.9434 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.779, allocations: 0.5627 MB / 0.944 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04524/1.825, allocations: 17.7 MB / 0.9613 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/1.825, allocations: 50.91 kB / 0.9613 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.825, allocations: 3.75 kB / 0.9613 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001193/1.825, allocations: 22.41 kB / 0.9614 GB, free: 111.1 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.05744/1.882, allocations: 27.1 MB / 0.9878 GB, free: 93.76 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/1.882, allocations: 4.156 kB / 0.9878 GB, free: 93.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/1.885, allocations: 409 kB / 0.9882 GB, free: 93.42 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02646/1.911, allocations: 10.17 MB / 0.9981 GB, free: 84.92 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001795/1.913, allocations: 102.4 kB / 0.9982 GB, free: 84.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06168/1.975, allocations: 36.36 MB / 1.034 GB, free: 51.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.975, allocations: 7.75 kB / 1.034 GB, free: 51.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05193/2.027, allocations: 21.3 MB / 1.055 GB, free: 33.71 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/2.029, allocations: 0.7885 MB / 1.055 GB, free: 33.03 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/2.03, allocations: 95.28 kB / 1.055 GB, free: 32.94 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005281/2.036, allocations: 0.5569 MB / 1.056 GB, free: 32.51 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002887/2.039, allocations: 0.8264 MB / 1.057 GB, free: 32.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000396/2.039, allocations: 128.1 kB / 1.057 GB, free: 31.94 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004082/2.043, allocations: 2.924 MB / 1.06 GB, free: 29.24 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/2.043, allocations: 0 / 1.06 GB, free: 29.24 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006313/2.049, allocations: 2.059 MB / 1.062 GB, free: 27.24 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 49 (gen2.aVR1TypeII1.ExcitationSystem.x_scaled[1],gen2.aVR1TypeII1.derivativeBlock.x,gen2.aVR1TypeII1.firstOrder2.y,gen2.aVR1TypeII1.simpleLagLim.state,gen2.Syn3.delta,gen2.Syn3.w,gen2.Syn3.e1q,gen2.Syn3.e1d,gen2.Syn3.e2q,gen2.Syn3.e2d,gen3.aVR2TypeII2.ExcitationSystem.x_scaled[1],gen3.aVR2TypeII2.derivativeBlock.x,gen3.aVR2TypeII2.firstOrder2.y,gen3.aVR2TypeII2.simpleLagLim.state,gen3.Syn2.delta,gen3.Syn2.w,gen3.Syn2.e1q,gen3.Syn2.e1d,gen3.Syn2.e2q,gen3.Syn2.e2d,gen6.aVR4TypeII1.ExcitationSystem.x_scaled[1],gen6.aVR4TypeII1.derivativeBlock.x,gen6.aVR4TypeII1.firstOrder2.y,gen6.aVR4TypeII1.simpleLagLim.state,gen6.Syn5.delta,gen6.Syn5.w,gen6.Syn5.e1q,gen6.Syn5.e1d,gen6.Syn5.e2q,gen6.Syn5.e2d,gen8.aVR3TypeII2.ExcitationSystem.x_scaled[1],gen8.aVR3TypeII2.derivativeBlock.x,gen8.aVR3TypeII2.firstOrder2.y,gen8.aVR3TypeII2.simpleLagLim.state,gen8.Syn4.delta,gen8.Syn4.w,gen8.Syn4.e1q,gen8.Syn4.e1d,gen8.Syn4.e2q,gen8.Syn4.e2d,gen1.AVR1.ExcitationSystem.x_scaled[1],gen1.AVR1.derivativeBlock.x,gen1.AVR1.firstOrder2.y,gen1.AVR1.simpleLagLim.state,gen1.Syn1.delta,gen1.Syn1.w,gen1.Syn1.e1q,gen1.Syn1.e2q,gen1.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.05075/2.1, allocations: 22.29 MB / 1.084 GB, free: 8.328 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02049/2.121, allocations: 9.819 MB / 1.093 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/2.121, allocations: 4 kB / 1.093 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01788/2.139, allocations: 7.564 MB / 1.101 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/2.142, allocations: 467.1 kB / 1.101 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/2.161, allocations: 10.12 MB / 1.111 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/2.164, allocations: 2.959 MB / 1.114 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002822/2.167, allocations: 383.4 kB / 1.114 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004505/2.171, allocations: 2.359 MB / 1.116 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of SimCode: time 1.914e-06/2.171, allocations: 0 / 1.116 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4706/2.642, allocations: 156.2 MB / 1.269 GB, free: 73.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/2.642, allocations: 166.4 kB / 1.269 GB, free: 73.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.631/10.27, allocations: 0 / 1.269 GB, free: 73.52 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_IEEE14_IEEE_14_Buses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_IEEE14_IEEE_14_Buses.fmu > OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)