Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008977/0.0008977, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.092/1.092, allocations: 177.2 MB / 200.3 MB, free: 5.684 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 156.6 kB / 257 MB, free: 12.97 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.47/0.47, allocations: 80.24 MB / 340.5 MB, free: 9.633 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3") translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 383.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.69e-05, allocations: 2.312 kB / 383.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_3.Example_3): time 0.01428/0.01431, allocations: 12.3 MB / 396.1 MB, free: 2.281 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009572/0.02388, allocations: 3.796 MB / 399.9 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.02699, allocations: 31.94 kB / 400 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.02915, allocations: 0.5263 MB / 400.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00512/0.03427, allocations: 1.617 MB / 402.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.03723, allocations: 1.392 MB / 403.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005935/0.04316, allocations: 4.042 MB / 407.5 MB, free: 6.836 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.04461, allocations: 0.6367 MB / 408.2 MB, free: 6.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004043/0.04866, allocations: 2.256 MB / 410.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.05099, allocations: 1.562 MB / 412 MB, free: 2.293 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.0521, allocations: 364 kB / 412.3 MB, free: 1.938 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.05335, allocations: 0.531 MB / 412.9 MB, free: 1.406 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005498/0.0539, allocations: 0.8481 MB / 413.7 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.05541, allocations: 1.141 MB / 414.9 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.05881, allocations: 2.833 MB / 417.7 MB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.05881, allocations: 0 / 417.7 MB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.05881, allocations: 0 / 417.7 MB, free: 12.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001158/0.05893, allocations: 0 / 417.7 MB, free: 12.57 MB / 394.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.009482/0.06841, allocations: 5.296 MB / 423 MB, free: 7.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.06845, allocations: 8.031 kB / 423 MB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005659/0.07411, allocations: 2.044 MB / 425 MB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.07615, allocations: 1.261 MB / 426.3 MB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/0.07648, allocations: 0.5791 MB / 426.9 MB, free: 3.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.07672, allocations: 203.9 kB / 427.1 MB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.07866, allocations: 1.55 MB / 428.6 MB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.07869, allocations: 0 / 428.6 MB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.07881, allocations: 76 kB / 428.7 MB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.07884, allocations: 44 kB / 428.8 MB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.08009, allocations: 0.7706 MB / 429.5 MB, free: 436 kB / 394.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.008241/0.08833, allocations: 4.548 MB / 434.1 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.09171, allocations: 1.966 MB / 436 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/0.0924, allocations: 0.6026 MB / 436.6 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.09254, allocations: 46 kB / 436.7 MB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.09366, allocations: 1.087 MB / 437.8 MB, free: 7.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 4.108e-06/0.09366, allocations: 0 / 437.8 MB, free: 7.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=242): time 0.2024/0.2961, allocations: 11.8 MB / 449.6 MB, free: 65.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.2962, allocations: 239.3 kB / 449.8 MB, free: 64.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.2985, allocations: 1.871 MB / 451.7 MB, free: 64.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003744/0.2988, allocations: 68.86 kB / 451.7 MB, free: 64.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/0.2993, allocations: 0.7279 MB / 452.5 MB, free: 64.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006223/0.2999, allocations: 0.908 MB / 453.4 MB, free: 64.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007889/0.3007, allocations: 0.5779 MB / 454 MB, free: 64.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.18e-05/0.3007, allocations: 305.7 kB / 454.3 MB, free: 63.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.3021, allocations: 0.7876 MB / 455 MB, free: 63.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.3035, allocations: 1.114 MB / 456.2 MB, free: 63.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/0.3077, allocations: 3.146 MB / 459.3 MB, free: 62.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.3077, allocations: 3.438 kB / 459.3 MB, free: 62.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.009162/0.3169, allocations: 4.504 MB / 463.8 MB, free: 59.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.872e-05/0.317, allocations: 173.9 kB / 464 MB, free: 59.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/0.317, allocations: 8 kB / 464 MB, free: 59.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007298/0.3243, allocations: 2.714 MB / 466.7 MB, free: 56.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/0.3269, allocations: 0.8699 MB / 467.6 MB, free: 55.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.3377, allocations: 10.54 MB / 478.1 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.3399, allocations: 334.2 kB / 478.4 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/0.3401, allocations: 87.95 kB / 478.5 MB, free: 45.09 MB / 410.7 MB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen1.gen.delta:VARIABLE(flow=false start = gen1.gen.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = \"1\" fixed = true ) \"d-axis transient voltage\" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real gen2.gen.delta:VARIABLE(flow=false start = gen2.gen.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real gen2.gen.e1q:VARIABLE(start = gen2.gen.e1q0 unit = \"1\" fixed = true ) \"q-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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,2), (29,30), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000722/0.3409, allocations: 391.5 kB / 478.9 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/0.3412, allocations: 261.7 kB / 479.2 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007313/0.3486, allocations: 4.393 MB / 483.6 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.3486, allocations: 24 kB / 483.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3486, allocations: 0 / 483.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.834e-05/0.3486, allocations: 13.05 kB / 483.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.3595, allocations: 6.064 MB / 489.7 MB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.3595, allocations: 0 / 489.7 MB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/0.3603, allocations: 275 kB / 489.9 MB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008318/0.3686, allocations: 3.579 MB / 493.5 MB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004205/0.369, allocations: 55.98 kB / 493.6 MB, free: 29.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.381, allocations: 11.04 MB / 0.4928 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.381, allocations: 4 kB / 0.4928 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0086/0.3896, allocations: 5.062 MB / 0.4977 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000901/0.3905, allocations: 297.4 kB / 0.498 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004306/0.3909, allocations: 48 kB / 0.498 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.392, allocations: 147.9 kB / 0.4982 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008155/0.3928, allocations: 382.2 kB / 0.4986 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.3929, allocations: 53.02 kB / 0.4986 GB, free: 12.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008362/0.3938, allocations: 1.006 MB / 0.4996 GB, free: 11.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3938, allocations: 0 / 0.4996 GB, free: 11.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002248/0.396, allocations: 1.03 MB / 0.5006 GB, free: 10.38 MB / 410.7 MB 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(41,45), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003203/0.3963, allocations: 155.3 kB / 0.5007 GB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004532/0.4009, allocations: 3.825 MB / 0.5045 GB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.512e-05/0.4009, allocations: 30.38 kB / 0.5045 GB, free: 6.168 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003126/0.404, allocations: 2.604 MB / 0.507 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.4053, allocations: 335 kB / 0.5074 GB, free: 3.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006069/0.4114, allocations: 4.807 MB / 0.5121 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.4119, allocations: 0.5268 MB / 0.5126 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008406/0.4127, allocations: 263.3 kB / 0.5128 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007508/0.4135, allocations: 385.2 kB / 0.5132 GB, free: 13.09 MB / 426.7 MB Notification: Performance of SimCode: time 2.114e-06/0.4135, allocations: 0 / 0.5132 GB, free: 13.09 MB / 426.7 MB Notification: Performance of Templates: time 0.07892/0.4924, allocations: 62.56 MB / 0.5743 GB, free: 15.02 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8399906093254685]