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.001063/0.001063, allocations: 174.1 kB / 12.73 MB, free: 2.59 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.304/1.304, allocations: 205.2 MB / 218.5 MB, free: 9.223 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.0009227/0.0009227, allocations: 82.19 kB / 266.6 MB, free: 9.27 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.06926/0.06926, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2825/0.2825, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.875e-05, allocations: 4 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1375, allocations: 69.33 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3758/0.5134, allocations: 104.7 MB / 0.6917 GB, free: 10.84 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.5136, allocations: 81.36 kB / 0.6918 GB, free: 10.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2193/0.733, allocations: 82.05 MB / 0.7719 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.733, allocations: 0 / 0.7719 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001939/0.7332, allocations: 63.88 kB / 0.772 GB, free: 2.953 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.008733/0.742, allocations: 3.377 MB / 0.7753 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.742, allocations: 15.98 kB / 0.7753 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007244/0.7493, allocations: 1.171 MB / 0.7765 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00374/0.7531, allocations: 1.753 MB / 0.7782 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004692/0.7535, allocations: 476.6 kB / 0.7786 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.7539, allocations: 187.9 kB / 0.7788 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.7579, allocations: 2.174 MB / 0.7809 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.758, allocations: 3.938 kB / 0.7809 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.7582, allocations: 80 kB / 0.781 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/0.7582, allocations: 47.98 kB / 0.781 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003462/0.7617, allocations: 1.982 MB / 0.783 GB, free: 7.453 MB / 0.5105 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.01511/0.7768, allocations: 9.075 MB / 0.7918 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009928/0.7868, allocations: 4.618 MB / 0.7964 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002319/0.7891, allocations: 1.347 MB / 0.7977 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.7894, allocations: 41.95 kB / 0.7977 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002732/0.7921, allocations: 1.575 MB / 0.7992 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=242): time 4.508e-06/0.7922, allocations: 0 / 0.7992 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of matching and sorting (n=242): time 0.02322/0.8154, allocations: 7.479 MB / 0.8065 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.8155, allocations: 235.6 kB / 0.8068 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003327/0.8189, allocations: 2.041 MB / 0.8088 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000387/0.8193, allocations: 65.7 kB / 0.8088 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009685/0.8202, allocations: 1.146 MB / 0.81 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009511/0.8212, allocations: 0.8472 MB / 0.8108 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.8214, allocations: 48 kB / 0.8108 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.8216, allocations: 403 kB / 0.8112 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.8236, allocations: 1.079 MB / 0.8123 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/0.8258, allocations: 1.35 MB / 0.8136 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.8281, allocations: 1.365 MB / 0.8149 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.8282, allocations: 0 / 0.8149 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01923/0.8474, allocations: 6.86 MB / 0.8216 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.8475, allocations: 166.2 kB / 0.8218 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.8476, allocations: 4.562 kB / 0.8218 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/0.8581, allocations: 2.801 MB / 0.8245 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.8606, allocations: 491.3 kB / 0.825 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02839/0.889, allocations: 16.67 MB / 0.8413 GB, free: 10.01 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/0.8929, allocations: 417.8 kB / 0.8417 GB, free: 9.602 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003981/0.8934, allocations: 87.97 kB / 0.8417 GB, free: 9.516 MB / 0.573 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.0006095/0.894, allocations: 334.9 kB / 0.8421 GB, free: 9.164 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006532/0.8946, allocations: 304.2 kB / 0.8423 GB, free: 8.863 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02292/0.9176, allocations: 7.713 MB / 0.8499 GB, free: 1.094 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/0.9176, allocations: 24 kB / 0.8499 GB, free: 1.07 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9176, allocations: 0 / 0.8499 GB, free: 1.07 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.458e-05/0.9177, allocations: 15.95 kB / 0.8499 GB, free: 1.055 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.02788/0.9456, allocations: 11.67 MB / 0.8613 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.9457, allocations: 4 kB / 0.8613 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.9471, allocations: 243.8 kB / 0.8615 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01072/0.9578, allocations: 3.265 MB / 0.8647 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000283/0.9581, allocations: 59.98 kB / 0.8648 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2989/1.257, allocations: 17.36 MB / 0.8817 GB, free: 159 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.257, allocations: 2.781 kB / 0.8818 GB, free: 159 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02494/1.282, allocations: 9.394 MB / 0.8909 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.283, allocations: 451.5 kB / 0.8914 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007351/1.284, allocations: 52.97 kB / 0.8914 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/1.287, allocations: 274.3 kB / 0.8917 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/1.288, allocations: 386.6 kB / 0.892 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.288, allocations: 65.98 kB / 0.8921 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002/1.29, allocations: 1.551 MB / 0.8936 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.4e-07/1.29, allocations: 3.344 kB / 0.8936 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002927/1.293, allocations: 0.9742 MB / 0.8946 GB, free: 157.9 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.0004369/1.293, allocations: 200.3 kB / 0.8948 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009272/1.303, allocations: 5.049 MB / 0.8997 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.303, allocations: 0 / 0.8997 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007523/1.31, allocations: 3.519 MB / 0.9031 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/1.312, allocations: 253.4 kB / 0.9034 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007034/1.319, allocations: 4.4 MB / 0.9077 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.32, allocations: 1.85 MB / 0.9095 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001072/1.321, allocations: 226.1 kB / 0.9097 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/1.322, allocations: 139.4 kB / 0.9098 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of SimCode: time 4.31e-07/1.322, allocations: 0 / 0.9098 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.06211/1.384, allocations: 48.64 MB / 0.9573 GB, free: 136.8 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)