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.0009527/0.0009527, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 221.5 MB / 229.6 MB, free: 3.176 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008475, allocations: 94.84 kB / 280.5 MB, free: 1.148 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4366/0.4366, allocations: 78.94 MB / 410.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.822e-05, allocations: 4 kB / 486 MB, free: 3.172 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3109, allocations: 69.51 MB / 0.5425 GB, free: 21.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.4392, allocations: 105.1 MB / 0.6451 GB, free: 14.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.4394, allocations: 79.95 kB / 0.6452 GB, free: 14.51 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5645/1.004, allocations: 138.8 MB / 0.7808 GB, free: 26.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/1.004, allocations: 0 / 0.7808 GB, free: 26.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005182/1.005, allocations: 107.9 kB / 0.7809 GB, free: 26.03 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.0186/1.023, allocations: 6.568 MB / 0.7873 GB, free: 19.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/1.023, allocations: 8.031 kB / 0.7873 GB, free: 19.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/1.038, allocations: 2.388 MB / 0.7896 GB, free: 16.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008746/1.046, allocations: 3.234 MB / 0.7928 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007907/1.047, allocations: 0.8479 MB / 0.7936 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/1.049, allocations: 223.8 kB / 0.7938 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008105/1.057, allocations: 3.927 MB / 0.7976 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008764/1.065, allocations: 3.893 MB / 0.8014 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-05/1.066, allocations: 0 / 0.8014 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003935/1.066, allocations: 7.984 kB / 0.8015 GB, free: 4.559 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/1.066, allocations: 84 kB / 0.8015 GB, free: 4.477 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.02971/1.096, allocations: 17.03 MB / 0.8182 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/1.113, allocations: 10.04 MB / 0.828 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005475/1.119, allocations: 2.778 MB / 0.8307 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007655/1.12, allocations: 67.58 kB / 0.8308 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006329/1.126, allocations: 3.091 MB / 0.8338 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=476): time 7.915e-06/1.126, allocations: 0 / 0.8338 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of matching and sorting (n=476): time 0.05201/1.178, allocations: 16.62 MB / 0.85 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/1.178, allocations: 368.1 kB / 0.8504 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005956/1.184, allocations: 3.566 MB / 0.8538 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001109/1.185, allocations: 25.7 kB / 0.8539 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0017/1.187, allocations: 2.179 MB / 0.856 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002267/1.189, allocations: 1.593 MB / 0.8575 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/1.19, allocations: 0 / 0.8575 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002537/1.19, allocations: 488.3 kB / 0.858 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003572/1.193, allocations: 2.181 MB / 0.8601 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003834/1.197, allocations: 2.614 MB / 0.8627 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003912/1.201, allocations: 2.432 MB / 0.8651 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1.201, allocations: 0 / 0.8651 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.04919/1.25, allocations: 16.57 MB / 0.8812 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/1.251, allocations: 281 kB / 0.8815 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/1.251, allocations: 8.875 kB / 0.8815 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03014/1.281, allocations: 9.147 MB / 0.8905 GB, free: 7.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004341/1.285, allocations: 0.7412 MB / 0.8912 GB, free: 6.918 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3598/1.645, allocations: 33.47 MB / 0.9239 GB, free: 124.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006877/1.652, allocations: 0.6984 MB / 0.9246 GB, free: 124.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009887/1.653, allocations: 167.8 kB / 0.9247 GB, free: 124.3 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: lPQ3.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ2.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ4.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ9.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ5.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ12.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" 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 {98 109} Notification: Performance of prepare postOptimizeDAE: time 0.001124/1.654, allocations: 341 kB / 0.925 GB, free: 124.1 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04569/1.7, allocations: 16.63 MB / 0.9413 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002563/1.702, allocations: 0.5565 MB / 0.9418 GB, free: 122.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0466/1.749, allocations: 17.1 MB / 0.9585 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.873e-05/1.749, allocations: 46.06 kB / 0.9586 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.749, allocations: 3.844 kB / 0.9586 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001304/1.749, allocations: 22.55 kB / 0.9586 GB, free: 118.7 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.05707/1.806, allocations: 26.12 MB / 0.9841 GB, free: 105.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.282e-05/1.806, allocations: 7.953 kB / 0.9841 GB, free: 105.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002713/1.809, allocations: 402.1 kB / 0.9845 GB, free: 105.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02651/1.836, allocations: 10.09 MB / 0.9943 GB, free: 96.91 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001307/1.837, allocations: 39.64 kB / 0.9944 GB, free: 96.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0591/1.896, allocations: 35.7 MB / 1.029 GB, free: 64.37 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.896, allocations: 6.062 kB / 1.029 GB, free: 64.36 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04976/1.946, allocations: 20.72 MB / 1.049 GB, free: 47.07 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/1.948, allocations: 0.7757 MB / 1.05 GB, free: 46.39 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002229/1.95, allocations: 23.7 kB / 1.05 GB, free: 46.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007163/1.958, allocations: 496 kB / 1.051 GB, free: 46.02 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003632/1.961, allocations: 0.8261 MB / 1.052 GB, free: 45.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007815/1.962, allocations: 126.7 kB / 1.052 GB, free: 45.44 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004073/1.966, allocations: 2.647 MB / 1.054 GB, free: 43.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.81e-07/1.966, allocations: 0 / 1.054 GB, free: 43.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00649/1.973, allocations: 1.84 MB / 1.056 GB, free: 41.25 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.05043/2.023, allocations: 21.63 MB / 1.077 GB, free: 23.01 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02057/2.044, allocations: 9.52 MB / 1.086 GB, free: 14.12 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/2.044, allocations: 0 / 1.086 GB, free: 14.12 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01722/2.061, allocations: 7.324 MB / 1.094 GB, free: 7.434 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/2.065, allocations: 386.7 kB / 1.094 GB, free: 7.098 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/2.083, allocations: 9.765 MB / 1.104 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/2.085, allocations: 2.96 MB / 1.106 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0019/2.087, allocations: 383.8 kB / 1.107 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0032/2.09, allocations: 2.354 MB / 1.109 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/2.09, allocations: 0 / 1.109 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4989/2.589, allocations: 147.2 MB / 1.253 GB, free: 69.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/2.589, allocations: 120.5 kB / 1.253 GB, free: 69.21 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/10.96, allocations: 4 kB / 1.253 GB, free: 69.21 MB / 0.5886 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)