Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.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.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3") translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008323/0.0008325, allocations: 79.06 kB / 261.4 MB, free: 13.45 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.07164/0.07164, allocations: 12.59 MB / 322 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2965/0.2965, allocations: 78.06 MB / 450.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.403e-05/1.406e-05, allocations: 7.984 kB / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 69.33 MB / 0.5824 GB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4326/0.5428, allocations: 104 MB / 0.684 GB, free: 3.977 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.5431, allocations: 88.75 kB / 0.6841 GB, free: 3.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.207/0.7501, allocations: 81.11 MB / 0.7633 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7502, allocations: 0 / 0.7633 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001898/0.7504, allocations: 67.81 kB / 0.7634 GB, free: 13.26 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.008664/0.7591, allocations: 3.373 MB / 0.7667 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.7591, allocations: 19.95 kB / 0.7667 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007384/0.7665, allocations: 1.171 MB / 0.7678 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/0.771, allocations: 1.745 MB / 0.7695 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004568/0.7715, allocations: 416.5 kB / 0.7699 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/0.7718, allocations: 123.9 kB / 0.77 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003451/0.7753, allocations: 1.89 MB / 0.7719 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00338/0.7787, allocations: 1.913 MB / 0.7738 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.7787, allocations: 4 kB / 0.7738 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.7789, allocations: 0 / 0.7738 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.779, allocations: 44 kB / 0.7738 GB, free: 2.324 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.01609/0.7951, allocations: 8.759 MB / 0.7824 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009324/0.8044, allocations: 4.517 MB / 0.7868 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.8064, allocations: 1.284 MB / 0.788 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.8066, allocations: 41.92 kB / 0.7881 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/0.809, allocations: 1.497 MB / 0.7895 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=242): time 5.189e-06/0.809, allocations: 0 / 0.7895 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of matching and sorting (n=242): time 0.0231/0.8321, allocations: 7.216 MB / 0.7966 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.8323, allocations: 235.6 kB / 0.7968 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/0.8356, allocations: 1.867 MB / 0.7986 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005691/0.8361, allocations: 29.7 kB / 0.7986 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008974/0.837, allocations: 1.15 MB / 0.7998 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.8381, allocations: 0.8082 MB / 0.8006 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.8382, allocations: 4.094 kB / 0.8006 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.8384, allocations: 402.9 kB / 0.8009 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.8401, allocations: 1.036 MB / 0.802 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.842, allocations: 1.287 MB / 0.8032 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.8439, allocations: 1.163 MB / 0.8044 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.844, allocations: 0 / 0.8044 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01871/0.8627, allocations: 6.472 MB / 0.8107 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.8628, allocations: 170.2 kB / 0.8108 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.8629, allocations: 4 kB / 0.8108 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/0.8732, allocations: 2.707 MB / 0.8135 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/0.8759, allocations: 483.3 kB / 0.8139 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02654/0.9025, allocations: 16.11 MB / 0.8297 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/0.9064, allocations: 365.9 kB / 0.83 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000481/0.9069, allocations: 91.91 kB / 0.8301 GB, free: 7.102 MB / 0.5573 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (243): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {4 2,30 32,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007128/0.9076, allocations: 245.8 kB / 0.8303 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008759/0.9085, allocations: 300.3 kB / 0.8306 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02175/0.9303, allocations: 7.383 MB / 0.8378 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.051e-05/0.9304, allocations: 31.95 kB / 0.8379 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.9304, allocations: 0 / 0.8379 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.471e-05/0.9304, allocations: 15.95 kB / 0.8379 GB, free: 15.07 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.02726/0.9577, allocations: 11.15 MB / 0.8488 GB, free: 3.719 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.9578, allocations: 128 / 0.8488 GB, free: 3.719 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/0.9594, allocations: 255.7 kB / 0.849 GB, free: 3.469 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01072/0.9701, allocations: 3.23 MB / 0.8522 GB, free: 232 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006395/0.9708, allocations: 23.98 kB / 0.8522 GB, free: 208 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2947/1.265, allocations: 16.97 MB / 0.8688 GB, free: 163.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.266, allocations: 5.406 kB / 0.8688 GB, free: 163.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02405/1.29, allocations: 9.082 MB / 0.8776 GB, free: 163.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.291, allocations: 450 kB / 0.8781 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005802/1.291, allocations: 15.69 kB / 0.8781 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/1.294, allocations: 241.4 kB / 0.8783 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/1.295, allocations: 376.1 kB / 0.8787 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/1.295, allocations: 66.19 kB / 0.8787 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001825/1.297, allocations: 1.391 MB / 0.8801 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.4e-07/1.297, allocations: 0 / 0.8801 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003187/1.3, allocations: 0.8604 MB / 0.8809 GB, free: 163 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {41 45,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004804/1.301, allocations: 164.8 kB / 0.8811 GB, free: 163 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.311, allocations: 4.866 MB / 0.8858 GB, free: 161.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.311, allocations: 4.922 kB / 0.8859 GB, free: 161.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.008081/1.319, allocations: 3.395 MB / 0.8892 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/1.321, allocations: 212.1 kB / 0.8894 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007634/1.329, allocations: 4.279 MB / 0.8935 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/1.33, allocations: 1.843 MB / 0.8953 GB, free: 159 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001161/1.331, allocations: 223.1 kB / 0.8956 GB, free: 159 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/1.332, allocations: 140.3 kB / 0.8957 GB, free: 159 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/1.332, allocations: 0 / 0.8957 GB, free: 159 MB / 0.5886 GB Notification: Performance of Templates: time 0.05962/1.392, allocations: 44.77 MB / 0.9394 GB, free: 154.1 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)