Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 173.1 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007968/0.0007968, allocations: 87.62 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06565/0.06565, allocations: 12.59 MB / 327.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2834/0.2834, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.606e-05, allocations: 4 kB / 0.5218 GB, free: 23.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 69.33 MB / 0.5895 GB, free: 2.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.399/0.5103, allocations: 106.7 MB / 0.6937 GB, free: 8.887 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.5105, allocations: 65.72 kB / 0.6937 GB, free: 8.855 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3569/0.8674, allocations: 135.6 MB / 0.8261 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8675, allocations: 0 / 0.8261 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000407/0.8679, allocations: 107.9 kB / 0.8262 GB, free: 11.06 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.02052/0.8884, allocations: 6.575 MB / 0.8326 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.8885, allocations: 19.97 kB / 0.8327 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.9043, allocations: 2.388 MB / 0.835 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009262/0.9136, allocations: 3.231 MB / 0.8382 GB, free: 14.64 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001211/0.9148, allocations: 0.9689 MB / 0.8391 GB, free: 13.54 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/0.9165, allocations: 371.8 kB / 0.8395 GB, free: 13.18 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/0.9334, allocations: 4.375 MB / 0.8437 GB, free: 8.758 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002086/0.9337, allocations: 0 / 0.8437 GB, free: 8.758 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001592/0.9353, allocations: 151.9 kB / 0.8439 GB, free: 8.609 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.926e-05/0.9354, allocations: 84 kB / 0.844 GB, free: 8.527 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.946, allocations: 4.112 MB / 0.848 GB, free: 4.414 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 preOpt removeSimpleEquations (simulation): time 0.04164/0.9876, allocations: 17.61 MB / 0.8652 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.298/1.286, allocations: 10.25 MB / 0.8752 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00562/1.291, allocations: 2.919 MB / 0.878 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/1.292, allocations: 70.94 kB / 0.8781 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006877/1.299, allocations: 3.233 MB / 0.8812 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=476): time 1.125e-05/1.299, allocations: 0.5469 kB / 0.8812 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=476): time 0.05219/1.351, allocations: 17.11 MB / 0.898 GB, free: 115 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/1.351, allocations: 365.8 kB / 0.8983 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006882/1.358, allocations: 3.859 MB / 0.9021 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001185/1.359, allocations: 108.1 kB / 0.9022 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/1.361, allocations: 2.199 MB / 0.9043 GB, free: 114 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.00189/1.363, allocations: 1.656 MB / 0.9059 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/1.363, allocations: 92.22 kB / 0.906 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.363, allocations: 492 kB / 0.9065 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003594/1.367, allocations: 2.278 MB / 0.9087 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/1.371, allocations: 2.729 MB / 0.9114 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/1.375, allocations: 2.801 MB / 0.9141 GB, free: 112 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/1.375, allocations: 0 / 0.9141 GB, free: 112 MB / 0.5886 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.04791/1.423, allocations: 17.28 MB / 0.931 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.423, allocations: 276.2 kB / 0.9313 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/1.423, allocations: 8.625 kB / 0.9313 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03229/1.455, allocations: 12.77 MB / 0.9437 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004444/1.46, allocations: 0.7387 MB / 0.9445 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07221/1.532, allocations: 34.43 MB / 0.9781 GB, free: 85.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00699/1.539, allocations: 0.8019 MB / 0.9789 GB, free: 84.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009154/1.54, allocations: 162.3 kB / 0.979 GB, free: 84.79 MB / 0.5886 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.001041/1.541, allocations: 488.7 kB / 0.9795 GB, free: 84.33 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/1.542, allocations: 0.5672 MB / 0.98 GB, free: 83.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04732/1.59, allocations: 17.7 MB / 0.9973 GB, free: 69.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/1.59, allocations: 51.56 kB / 0.9974 GB, free: 69.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.59, allocations: 3.938 kB / 0.9974 GB, free: 69.91 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001222/1.59, allocations: 33.38 kB / 0.9974 GB, free: 69.91 MB / 0.5886 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.06147/1.651, allocations: 27.1 MB / 1.024 GB, free: 48.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/1.651, allocations: 0 / 1.024 GB, free: 48.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002814/1.654, allocations: 408.4 kB / 1.024 GB, free: 48.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02788/1.682, allocations: 10.18 MB / 1.034 GB, free: 39.62 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001229/1.683, allocations: 103.5 kB / 1.034 GB, free: 39.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06457/1.748, allocations: 36.36 MB / 1.07 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.748, allocations: 0 / 1.07 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0583/1.806, allocations: 21.33 MB / 1.091 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/1.809, allocations: 0.7949 MB / 1.091 GB, free: 3.531 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/1.81, allocations: 95.23 kB / 1.091 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00612/1.817, allocations: 0.5569 MB / 1.092 GB, free: 3.008 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003635/1.82, allocations: 0.8196 MB / 1.093 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008334/1.821, allocations: 126.7 kB / 1.093 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.007002/1.828, allocations: 3.01 MB / 1.096 GB, free: 0 / 0.6042 GB Notification: Performance of sort global known variables: time 3.1e-07/1.828, allocations: 336 / 1.096 GB, free: 0 / 0.6042 GB Notification: Performance of remove unused functions: time 0.2901/2.118, allocations: 2.447 MB / 1.098 GB, free: 126.4 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 () * 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.001351/2.12, allocations: 266 kB / 1.099 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02653/2.146, allocations: 9.816 MB / 1.108 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/2.146, allocations: 0 / 1.108 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02112/2.167, allocations: 7.575 MB / 1.116 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004493/2.172, allocations: 461.9 kB / 1.116 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/2.192, allocations: 9.111 MB / 1.125 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/2.194, allocations: 2.96 MB / 1.128 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002345/2.196, allocations: 389.8 kB / 1.128 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/2.198, allocations: 229.3 kB / 1.128 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.262e-06/2.198, allocations: 0 / 1.128 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.1467/2.344, allocations: 110.7 MB / 1.236 GB, free: 76.72 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)