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.0009535/0.0009536, allocations: 174.6 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.183/1.183, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008109/0.0008109, allocations: 103 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4426/0.4426, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.081e-05, allocations: 4 kB / 492.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2881, allocations: 69.5 MB / 0.5491 GB, free: 19.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.4004, allocations: 105.7 MB / 0.6524 GB, free: 9.859 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001668/0.4006, allocations: 67.97 kB / 0.6524 GB, free: 9.793 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5886/0.9892, allocations: 140.3 MB / 0.7895 GB, free: 16.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.9893, allocations: 0 / 0.7895 GB, free: 16.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003615/0.9897, allocations: 111.9 kB / 0.7896 GB, free: 16.57 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.01816/1.008, allocations: 6.571 MB / 0.796 GB, free: 9.871 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.008, allocations: 11.97 kB / 0.796 GB, free: 9.859 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/1.022, allocations: 2.396 MB / 0.7984 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006799/1.029, allocations: 3.238 MB / 0.8015 GB, free: 4.152 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007024/1.03, allocations: 0.969 MB / 0.8025 GB, free: 3.047 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009126/1.031, allocations: 367.8 kB / 0.8028 GB, free: 2.688 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007709/1.038, allocations: 4.387 MB / 0.8071 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.675e-05/1.039, allocations: 0 / 0.8071 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004536/1.039, allocations: 140 kB / 0.8072 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-05/1.039, allocations: 91.89 kB / 0.8073 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007641/1.047, allocations: 4.112 MB / 0.8113 GB, free: 9.91 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.03478/1.082, allocations: 17.6 MB / 0.8285 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/1.1, allocations: 10.25 MB / 0.8385 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005409/1.105, allocations: 2.919 MB / 0.8414 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/1.106, allocations: 71.52 kB / 0.8415 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006091/1.112, allocations: 3.247 MB / 0.8446 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=476): time 8.936e-06/1.112, allocations: 4 kB / 0.8446 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476): time 0.05319/1.165, allocations: 17.11 MB / 0.8613 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/1.165, allocations: 368.1 kB / 0.8617 GB, free: 4.945 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007077/1.172, allocations: 3.856 MB / 0.8654 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001254/1.174, allocations: 113.7 kB / 0.8656 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001853/1.176, allocations: 2.195 MB / 0.8677 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002846/1.178, allocations: 1.652 MB / 0.8693 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004639/1.179, allocations: 96 kB / 0.8694 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000327/1.179, allocations: 492.4 kB / 0.8699 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00445/1.184, allocations: 2.279 MB / 0.8721 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004937/1.189, allocations: 2.721 MB / 0.8748 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005399/1.194, allocations: 2.805 MB / 0.8775 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/1.194, allocations: 4 kB / 0.8775 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.05186/1.246, allocations: 17.28 MB / 0.8944 GB, free: 3.008 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/1.246, allocations: 277 kB / 0.8946 GB, free: 2.676 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/1.246, allocations: 8 kB / 0.8946 GB, free: 2.668 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3596/1.606, allocations: 12.77 MB / 0.9071 GB, free: 119.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/1.61, allocations: 0.742 MB / 0.9078 GB, free: 119.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07114/1.682, allocations: 34.42 MB / 0.9415 GB, free: 115.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007079/1.689, allocations: 0.8064 MB / 0.9422 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000643/1.689, allocations: 155.5 kB / 0.9424 GB, free: 115.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 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.0009993/1.69, allocations: 0.4919 MB / 0.9429 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.691, allocations: 0.559 MB / 0.9434 GB, free: 114.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04736/1.739, allocations: 17.71 MB / 0.9607 GB, free: 110.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/1.739, allocations: 50.59 kB / 0.9608 GB, free: 110.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.739, allocations: 3.875 kB / 0.9608 GB, free: 110.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001226/1.739, allocations: 22.03 kB / 0.9608 GB, free: 110.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.06211/1.801, allocations: 27.09 MB / 0.9872 GB, free: 94.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.292e-05/1.801, allocations: 160 / 0.9872 GB, free: 94.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002752/1.804, allocations: 409.1 kB / 0.9876 GB, free: 93.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02768/1.832, allocations: 10.18 MB / 0.9976 GB, free: 85.28 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001489/1.833, allocations: 103.3 kB / 0.9977 GB, free: 85.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06506/1.898, allocations: 36.35 MB / 1.033 GB, free: 51.87 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.898, allocations: 8 kB / 1.033 GB, free: 51.86 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05505/1.953, allocations: 21.3 MB / 1.054 GB, free: 34.08 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/1.956, allocations: 0.79 MB / 1.055 GB, free: 33.39 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/1.957, allocations: 92 kB / 1.055 GB, free: 33.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005913/1.963, allocations: 0.5585 MB / 1.055 GB, free: 32.88 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003199/1.966, allocations: 0.8257 MB / 1.056 GB, free: 32.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004557/1.967, allocations: 128.6 kB / 1.056 GB, free: 32.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004533/1.971, allocations: 2.927 MB / 1.059 GB, free: 29.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.8e-07/1.971, allocations: 0 / 1.059 GB, free: 29.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007303/1.979, allocations: 2.057 MB / 1.061 GB, free: 27.61 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.0007402/1.979, allocations: 270.6 kB / 1.061 GB, free: 27.37 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02129/2.001, allocations: 9.814 MB / 1.071 GB, free: 18.18 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/2.001, allocations: 4 kB / 1.071 GB, free: 18.17 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02031/2.021, allocations: 7.571 MB / 1.078 GB, free: 11.24 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00442/2.026, allocations: 463.5 kB / 1.079 GB, free: 10.82 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/2.043, allocations: 9.113 MB / 1.088 GB, free: 2.645 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/2.045, allocations: 2.956 MB / 1.091 GB, free: 496 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002349/2.048, allocations: 385 kB / 1.091 GB, free: 236 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/2.049, allocations: 234 kB / 1.091 GB, free: 24 kB / 0.573 GB Notification: Performance of SimCode: time 2.224e-06/2.049, allocations: 0 / 1.091 GB, free: 24 kB / 0.573 GB Notification: Performance of Templates: time 0.4676/2.517, allocations: 110.5 MB / 1.199 GB, free: 145.1 MB / 0.6042 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)