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: translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.0009025/0.0009026, allocations: 174.7 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.4/1.4, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008023/0.0008024, allocations: 85.27 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4262/0.4262, allocations: 78.09 MB / 414.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.838e-05/2.841e-05, allocations: 7.938 kB / 491.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2918, allocations: 69.33 MB / 0.548 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.4108, allocations: 105.1 MB / 0.6506 GB, free: 11.48 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.411, allocations: 67.97 kB / 0.6507 GB, free: 11.41 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5752/0.9863, allocations: 139.2 MB / 0.7866 GB, free: 20.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.9863, allocations: 0 / 0.7866 GB, free: 20.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003544/0.9867, allocations: 103.9 kB / 0.7867 GB, free: 20.02 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.01841/1.005, allocations: 6.579 MB / 0.7931 GB, free: 13.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.005, allocations: 15.97 kB / 0.7931 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/1.019, allocations: 2.396 MB / 0.7955 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007365/1.027, allocations: 3.226 MB / 0.7986 GB, free: 7.602 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007698/1.028, allocations: 0.9729 MB / 0.7996 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/1.029, allocations: 371.8 kB / 0.7999 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007127/1.036, allocations: 4.371 MB / 0.8042 GB, free: 1.715 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.895e-05/1.036, allocations: 3.938 kB / 0.8042 GB, free: 1.711 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004095/1.036, allocations: 144 kB / 0.8043 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/1.036, allocations: 91.95 kB / 0.8044 GB, free: 1.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006892/1.043, allocations: 4.108 MB / 0.8084 GB, free: 13.37 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.03586/1.079, allocations: 17.62 MB / 0.8256 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02012/1.099, allocations: 10.25 MB / 0.8356 GB, free: 308 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005808/1.105, allocations: 2.918 MB / 0.8385 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007817/1.106, allocations: 75.89 kB / 0.8386 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007183/1.113, allocations: 3.238 MB / 0.8417 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=476): time 1.074e-05/1.113, allocations: 0 / 0.8417 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476): time 0.05679/1.17, allocations: 17.1 MB / 0.8584 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/1.17, allocations: 368.1 kB / 0.8588 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009103/1.179, allocations: 3.86 MB / 0.8625 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00148/1.181, allocations: 113.7 kB / 0.8626 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/1.183, allocations: 2.191 MB / 0.8648 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00271/1.186, allocations: 1.659 MB / 0.8664 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/1.187, allocations: 96 kB / 0.8665 GB, free: 468 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000454/1.187, allocations: 488.3 kB / 0.867 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005396/1.193, allocations: 2.271 MB / 0.8692 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005885/1.199, allocations: 2.733 MB / 0.8719 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005678/1.204, allocations: 2.794 MB / 0.8746 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/1.204, allocations: 4 kB / 0.8746 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.05521/1.26, allocations: 17.28 MB / 0.8915 GB, free: 6.453 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/1.26, allocations: 277 kB / 0.8917 GB, free: 6.121 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/1.26, allocations: 8 kB / 0.8917 GB, free: 6.113 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3283/1.588, allocations: 12.75 MB / 0.9042 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004419/1.593, allocations: 0.7529 MB / 0.9049 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0684/1.661, allocations: 34.44 MB / 0.9386 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006553/1.668, allocations: 0.7909 MB / 0.9393 GB, free: 115.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007191/1.668, allocations: 160.5 kB / 0.9395 GB, free: 115.5 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.0009493/1.669, allocations: 499.1 kB / 0.94 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.671, allocations: 0.5592 MB / 0.9405 GB, free: 114.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04889/1.72, allocations: 17.71 MB / 0.9578 GB, free: 110.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.562e-05/1.72, allocations: 49.66 kB / 0.9578 GB, free: 110.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.72, allocations: 0 / 0.9578 GB, free: 110.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001379/1.72, allocations: 23.72 kB / 0.9579 GB, free: 110.9 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.05898/1.779, allocations: 27.1 MB / 0.9843 GB, free: 96.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.538e-05/1.779, allocations: 3.938 kB / 0.9843 GB, free: 96.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/1.782, allocations: 408.5 kB / 0.9847 GB, free: 96.04 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02771/1.809, allocations: 10.18 MB / 0.9947 GB, free: 87.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001989/1.811, allocations: 103 kB / 0.9948 GB, free: 87.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0694/1.881, allocations: 36.36 MB / 1.03 GB, free: 54.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.881, allocations: 3.672 kB / 1.03 GB, free: 54.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05702/1.938, allocations: 21.3 MB / 1.051 GB, free: 36.32 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/1.94, allocations: 0.7887 MB / 1.052 GB, free: 35.64 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001973/1.942, allocations: 96 kB / 1.052 GB, free: 35.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006295/1.948, allocations: 0.5558 MB / 1.052 GB, free: 35.12 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003548/1.952, allocations: 0.8202 MB / 1.053 GB, free: 34.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005869/1.952, allocations: 129.8 kB / 1.053 GB, free: 34.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00505/1.957, allocations: 2.93 MB / 1.056 GB, free: 31.84 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.31e-07/1.957, allocations: 0 / 1.056 GB, free: 31.84 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007001/1.965, allocations: 2.056 MB / 1.058 GB, free: 29.85 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.0006817/1.965, allocations: 266.1 kB / 1.059 GB, free: 29.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02129/1.986, allocations: 9.819 MB / 1.068 GB, free: 20.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.987, allocations: 0 / 1.068 GB, free: 20.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01731/2.004, allocations: 7.569 MB / 1.076 GB, free: 13.46 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/2.008, allocations: 467.3 kB / 1.076 GB, free: 13.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/2.024, allocations: 9.117 MB / 1.085 GB, free: 4.863 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/2.026, allocations: 2.955 MB / 1.088 GB, free: 2.703 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002133/2.028, allocations: 390.5 kB / 1.088 GB, free: 2.445 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/2.029, allocations: 234.7 kB / 1.088 GB, free: 2.23 MB / 0.573 GB Notification: Performance of SimCode: time 5.81e-07/2.029, allocations: 0 / 1.088 GB, free: 2.23 MB / 0.573 GB Notification: Performance of Templates: time 0.4314/2.461, allocations: 110.9 MB / 1.197 GB, free: 145.2 MB / 0.6042 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.makefile (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 & ./OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)