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.00922/0.00922, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.666/1.666, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.001094/0.001094, allocations: 94.81 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08842/0.08842, allocations: 12.6 MB / 330.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5127/0.5127, allocations: 78.52 MB / 460 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005769/0.000577, allocations: 17.84 kB / 0.5285 GB, free: 35.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1735, allocations: 69.34 MB / 0.5962 GB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5149/0.6885, allocations: 104.8 MB / 0.6985 GB, free: 37.29 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.6888, allocations: 83.42 kB / 0.6986 GB, free: 37.29 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2006/0.8895, allocations: 82.16 MB / 0.7788 GB, free: 12.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.8896, allocations: 3.938 kB / 0.7788 GB, free: 12.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002788/0.8898, allocations: 61.53 kB / 0.7789 GB, free: 12.66 MB / 474.7 MB 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.01328/0.9031, allocations: 4.076 MB / 0.7829 GB, free: 10.26 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.9032, allocations: 11.7 kB / 0.7829 GB, free: 10.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007701/0.9109, allocations: 1.189 MB / 0.784 GB, free: 9.219 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/0.9168, allocations: 1.845 MB / 0.7859 GB, free: 7.801 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004235/0.9173, allocations: 471.6 kB / 0.7863 GB, free: 7.344 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004458/0.9177, allocations: 192.9 kB / 0.7865 GB, free: 7.215 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00445/0.9222, allocations: 2.494 MB / 0.7889 GB, free: 5.512 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.9223, allocations: 0 / 0.7889 GB, free: 5.512 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.9225, allocations: 77.44 kB / 0.789 GB, free: 5.492 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.9225, allocations: 44 kB / 0.789 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004701/0.9272, allocations: 2.336 MB / 0.7913 GB, free: 3.895 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01875/0.946, allocations: 9.069 MB / 0.8002 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.957, allocations: 4.98 MB / 0.805 GB, free: 6.234 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/0.9576, allocations: 29.98 kB / 0.8051 GB, free: 6.207 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004513/0.9621, allocations: 1.878 MB / 0.8069 GB, free: 4.309 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.809e-06/0.9621, allocations: 3.938 kB / 0.8069 GB, free: 4.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.06978/1.032, allocations: 17.56 MB / 0.8241 GB, free: 2.613 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/1.032, allocations: 235.6 kB / 0.8243 GB, free: 2.336 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004307/1.036, allocations: 2.15 MB / 0.8264 GB, free: 180 kB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007692/1.037, allocations: 65.7 kB / 0.8264 GB, free: 108 kB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/1.038, allocations: 1.15 MB / 0.8276 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.04, allocations: 0.8393 MB / 0.8284 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/1.04, allocations: 48 kB / 0.8284 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.04, allocations: 399 kB / 0.8288 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/1.043, allocations: 1.391 MB / 0.8302 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003051/1.046, allocations: 1.654 MB / 0.8318 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/1.049, allocations: 1.669 MB / 0.8334 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.049, allocations: 4 kB / 0.8334 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.02211/1.071, allocations: 7.735 MB / 0.841 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.071, allocations: 162.3 kB / 0.8411 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/1.071, allocations: 8 kB / 0.8411 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0121/1.084, allocations: 3.327 MB / 0.8444 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/1.086, allocations: 491.3 kB / 0.8449 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03944/1.126, allocations: 20.05 MB / 0.8644 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005126/1.131, allocations: 413.8 kB / 0.8648 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/1.132, allocations: 87.97 kB / 0.8649 GB, free: 7.688 MB / 0.5417 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked 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.001692/1.133, allocations: 0.5866 MB / 0.8655 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007535/1.134, allocations: 304.3 kB / 0.8658 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0246/1.159, allocations: 8.576 MB / 0.8742 GB, free: 14.14 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-05/1.159, allocations: 31.94 kB / 0.8742 GB, free: 14.11 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/1.159, allocations: 4 kB / 0.8742 GB, free: 14.11 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.24e-05/1.159, allocations: 11.95 kB / 0.8742 GB, free: 14.1 MB / 0.5574 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03143/1.19, allocations: 12.53 MB / 0.8864 GB, free: 1.336 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-05/1.19, allocations: 0 / 0.8864 GB, free: 1.336 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/1.192, allocations: 247.7 kB / 0.8867 GB, free: 1.094 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01261/1.205, allocations: 3.815 MB / 0.8904 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008369/1.206, allocations: 59.92 kB / 0.8905 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04593/1.252, allocations: 21.22 MB / 0.9112 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.252, allocations: 3.938 kB / 0.9112 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3906/1.642, allocations: 10.56 MB / 0.9215 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002398/1.645, allocations: 456.2 kB / 0.9219 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002169/1.647, allocations: 52.52 kB / 0.922 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004266/1.651, allocations: 274.1 kB / 0.9222 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002008/1.653, allocations: 386.2 kB / 0.9226 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.654, allocations: 66.16 kB / 0.9227 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004859/1.658, allocations: 1.655 MB / 0.9243 GB, free: 162 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.92e-07/1.658, allocations: 0 / 0.9243 GB, free: 162 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005098/1.664, allocations: 0.9702 MB / 0.9252 GB, free: 162 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 () * Number of clocked 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.0006158/1.664, allocations: 201.6 kB / 0.9254 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01368/1.678, allocations: 5.694 MB / 0.931 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.678, allocations: 0.8438 kB / 0.931 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01235/1.69, allocations: 3.871 MB / 0.9348 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/1.694, allocations: 255.4 kB / 0.935 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.705, allocations: 6.46 MB / 0.9413 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/1.707, allocations: 1.842 MB / 0.9431 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001459/1.708, allocations: 233.4 kB / 0.9433 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/1.709, allocations: 139.5 kB / 0.9435 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.382e-06/1.709, allocations: 4.281 kB / 0.9435 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.07856/1.787, allocations: 48.44 MB / 0.9908 GB, free: 148.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)