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: translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 180.9 kB / 7.651 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.343/1.343, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008464/0.0008463, allocations: 95.52 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4516/0.4516, allocations: 78.95 MB / 410.2 MB, free: 5.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.323e-05/1.325e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 69.52 MB / 0.5424 GB, free: 5.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3637/0.4863, allocations: 105.1 MB / 0.645 GB, free: 9.039 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.4866, allocations: 67.97 kB / 0.6451 GB, free: 8.973 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6374/1.124, allocations: 138.8 MB / 0.7806 GB, free: 87.52 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.273e-06/1.124, allocations: 2.953 kB / 0.7806 GB, free: 87.52 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000549/1.125, allocations: 103 kB / 0.7807 GB, free: 87.51 MB / 0.5573 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.02004/1.145, allocations: 6.566 MB / 0.7872 GB, free: 85.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/1.145, allocations: 12.53 kB / 0.7872 GB, free: 85.32 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01584/1.16, allocations: 2.387 MB / 0.7895 GB, free: 84.96 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009946/1.17, allocations: 3.24 MB / 0.7927 GB, free: 84.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/1.172, allocations: 0.8473 MB / 0.7935 GB, free: 83.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001844/1.173, allocations: 224.3 kB / 0.7937 GB, free: 83.49 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009783/1.183, allocations: 3.927 MB / 0.7975 GB, free: 83.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009932/1.193, allocations: 3.894 MB / 0.8013 GB, free: 83.28 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.099e-05/1.193, allocations: 5.062 kB / 0.8013 GB, free: 83.28 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004354/1.194, allocations: 2.844 kB / 0.8013 GB, free: 83.28 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.831e-05/1.194, allocations: 84.28 kB / 0.8014 GB, free: 83.28 MB / 0.5573 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.03694/1.231, allocations: 17.02 MB / 0.8181 GB, free: 79.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/1.248, allocations: 10.05 MB / 0.8279 GB, free: 75.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004616/1.253, allocations: 2.78 MB / 0.8306 GB, free: 75.69 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006205/1.253, allocations: 70.92 kB / 0.8306 GB, free: 75.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004851/1.258, allocations: 3.088 MB / 0.8337 GB, free: 75.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=476): time 6.673e-06/1.258, allocations: 0.75 kB / 0.8337 GB, free: 75.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=476): time 0.04741/1.306, allocations: 16.62 MB / 0.8499 GB, free: 73.08 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/1.306, allocations: 362.4 kB / 0.8502 GB, free: 72.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005255/1.311, allocations: 3.569 MB / 0.8537 GB, free: 71.26 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001229/1.312, allocations: 29.39 kB / 0.8538 GB, free: 71.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001355/1.314, allocations: 2.171 MB / 0.8559 GB, free: 69.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002015/1.316, allocations: 1.6 MB / 0.8574 GB, free: 68.24 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003775/1.316, allocations: 0 / 0.8574 GB, free: 68.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.316, allocations: 488.8 kB / 0.8579 GB, free: 67.85 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00314/1.32, allocations: 2.184 MB / 0.86 GB, free: 66.78 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003335/1.323, allocations: 2.611 MB / 0.8626 GB, free: 65.35 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/1.326, allocations: 2.436 MB / 0.865 GB, free: 64.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/1.326, allocations: 6.656 kB / 0.865 GB, free: 64.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.04619/1.373, allocations: 16.58 MB / 0.8812 GB, free: 60.17 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/1.373, allocations: 280.2 kB / 0.8814 GB, free: 59.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.373, allocations: 7.438 kB / 0.8814 GB, free: 59.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02884/1.402, allocations: 9.138 MB / 0.8904 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004395/1.406, allocations: 0.7444 MB / 0.8911 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0654/1.471, allocations: 33.47 MB / 0.9238 GB, free: 25.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007465/1.479, allocations: 0.6975 MB / 0.9244 GB, free: 24.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/1.48, allocations: 170.2 kB / 0.9246 GB, free: 24.55 MB / 0.5573 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.00124/1.481, allocations: 337.9 kB / 0.9249 GB, free: 24.24 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001966/1.483, allocations: 0.5634 MB / 0.9255 GB, free: 23.67 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04843/1.532, allocations: 17.09 MB / 0.9422 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-05/1.532, allocations: 48 kB / 0.9422 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.532, allocations: 0 / 0.9422 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001339/1.532, allocations: 29.17 kB / 0.9422 GB, free: 10.29 MB / 0.5573 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.06351/1.596, allocations: 26.12 MB / 0.9678 GB, free: 5.469 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.713e-05/1.596, allocations: 1.125 kB / 0.9678 GB, free: 5.469 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/1.599, allocations: 413.8 kB / 0.9681 GB, free: 5.109 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03177/1.63, allocations: 10.17 MB / 0.9781 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001507/1.632, allocations: 43.41 kB / 0.9781 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3739/2.006, allocations: 35.7 MB / 1.013 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/2.006, allocations: 3.531 kB / 1.013 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0626/2.068, allocations: 20.73 MB / 1.033 GB, free: 106 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002595/2.071, allocations: 0.7724 MB / 1.034 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00318/2.074, allocations: 21.8 kB / 1.034 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008061/2.082, allocations: 497.8 kB / 1.034 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005058/2.087, allocations: 0.8225 MB / 1.035 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001613/2.089, allocations: 125.6 kB / 1.035 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00636/2.096, allocations: 2.648 MB / 1.038 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/2.096, allocations: 0 / 1.038 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01062/2.106, allocations: 1.84 MB / 1.04 GB, free: 105.4 MB / 0.5886 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.001504/2.108, allocations: 185 kB / 1.04 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02335/2.131, allocations: 9.521 MB / 1.049 GB, free: 104 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.131, allocations: 0 / 1.049 GB, free: 104 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01965/2.151, allocations: 7.317 MB / 1.056 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004934/2.156, allocations: 387.9 kB / 1.057 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/2.178, allocations: 8.912 MB / 1.065 GB, free: 99.35 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002735/2.181, allocations: 2.959 MB / 1.068 GB, free: 98.43 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002678/2.184, allocations: 381.7 kB / 1.069 GB, free: 98.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/2.185, allocations: 229.8 kB / 1.069 GB, free: 98.38 MB / 0.5886 GB Notification: Performance of SimCode: time 2.805e-06/2.185, allocations: 0 / 1.069 GB, free: 98.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.1492/2.334, allocations: 102 MB / 1.169 GB, free: 43.13 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)