Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.001015/0.001015, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002462, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] 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.001056/0.001056, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002468, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.953/0.953, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0775/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1213/0.1213, allocations: 29.42 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1223/0.2437, allocations: 9.531 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.513e-05, allocations: 3.719 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.005684/0.005699, allocations: 6.519 MB / 290.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.008974, allocations: 2.379 MB / 293.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.009295, allocations: 36.19 kB / 293.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.009946, allocations: 329.4 kB / 293.7 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007598/0.01071, allocations: 0.5606 MB / 294.2 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000902/0.01161, allocations: 468.5 kB / 294.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.01286, allocations: 1.398 MB / 296.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008846/0.01374, allocations: 0.5273 MB / 296.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009286/0.01467, allocations: 0.9504 MB / 297.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006143/0.01529, allocations: 0.596 MB / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.01539, allocations: 76 kB / 298.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.01585, allocations: 283.5 kB / 298.5 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.01616, allocations: 0.4949 MB / 299 MB, free: 56 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.01643, allocations: 323.4 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000772/0.0172, allocations: 0.9226 MB / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.01721, allocations: 0 / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01721, allocations: 0 / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.01723, allocations: 4 kB / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00143/0.01866, allocations: 1.444 MB / 301.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.01869, allocations: 12.03 kB / 301.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.0194, allocations: 317.7 kB / 302 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006076/0.02001, allocations: 0.5749 MB / 302.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.02005, allocations: 62.38 kB / 302.6 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.02018, allocations: 108.8 kB / 302.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.02089, allocations: 0.8026 MB / 303.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.02091, allocations: 7.938 kB / 303.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.02096, allocations: 35.98 kB / 303.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.02109, allocations: 61.95 kB / 303.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006901/0.02178, allocations: 386.1 kB / 304 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.0246, allocations: 3.603 MB / 307.6 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.02502, allocations: 401.8 kB / 308 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.0252, allocations: 194.6 kB / 308.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.02523, allocations: 8.656 kB / 308.2 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000331/0.02556, allocations: 366.2 kB / 308.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of pre-optimization done (n=69): time 2.034e-06/0.02557, allocations: 0 / 308.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.001789/0.02736, allocations: 1.379 MB / 310 MB, free: 4.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.02743, allocations: 218.3 kB / 310.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.0277, allocations: 0.4998 MB / 310.7 MB, free: 3.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.02774, allocations: 45.69 kB / 310.7 MB, free: 3.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.02815, allocations: 417.3 kB / 311.1 MB, free: 3.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.02828, allocations: 261.8 kB / 311.4 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.02843, allocations: 162.5 kB / 311.5 MB, free: 2.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.02853, allocations: 390.6 kB / 311.9 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.02867, allocations: 146.5 kB / 312.1 MB, free: 2.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.02892, allocations: 403.6 kB / 312.5 MB, free: 1.902 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.03009, allocations: 1.201 MB / 313.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.03009, allocations: 3.938 kB / 313.7 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007507/0.03084, allocations: 0.6906 MB / 314.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.03088, allocations: 33.7 kB / 314.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.0309, allocations: 8 kB / 314.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.03127, allocations: 167.2 kB / 314.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.03185, allocations: 239.7 kB / 314.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/0.0345, allocations: 4.584 MB / 319.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.03475, allocations: 28 kB / 319.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.03479, allocations: 35.98 kB / 319.4 MB, free: 10.45 MB / 314.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,$PRE.switch.t0,$PRE.switch.closed,$PRE.switch.open,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,switch.open,switch.t0,switch.control[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.03499, allocations: 223.1 kB / 319.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.03506, allocations: 71.88 kB / 319.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006599/0.03572, allocations: 0.6003 MB / 320.3 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.03574, allocations: 15.98 kB / 320.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.03574, allocations: 4 kB / 320.3 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.03575, allocations: 0 / 320.3 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.03697, allocations: 1.239 MB / 321.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.03697, allocations: 4 kB / 321.6 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.03744, allocations: 166.8 kB / 321.8 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.03749, allocations: 63.52 kB / 321.8 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003312/0.03783, allocations: 182.8 kB / 322 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.03787, allocations: 24.05 kB / 322 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/0.04036, allocations: 4.587 MB / 326.6 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.04036, allocations: 4 kB / 326.6 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008328/0.04119, allocations: 0.9118 MB / 327.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.04126, allocations: 23.98 kB / 327.5 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.04143, allocations: 16 kB / 327.6 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.04153, allocations: 64.47 kB / 327.6 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.04155, allocations: 12 kB / 327.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.04169, allocations: 232.5 kB / 327.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04169, allocations: 0 / 327.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005921/0.04229, allocations: 280 kB / 328.1 MB, free: 1.266 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.04244, allocations: 122.9 kB / 328.3 MB, free: 1.141 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008409/0.04328, allocations: 0.9774 MB / 329.2 MB, free: 104 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.361e-05/0.04331, allocations: 17.8 kB / 329.3 MB, free: 88 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006022/0.04391, allocations: 0.758 MB / 330 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008205/0.04473, allocations: 1.428 MB / 331.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.05696, allocations: 1.796 MB / 333.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.05716, allocations: 268 kB / 333.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002876/0.05745, allocations: 94.47 kB / 333.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.05774, allocations: 201.3 kB / 333.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.05774, allocations: 0 / 333.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of Templates: time 0.0144/0.07215, allocations: 12.26 MB / 346 MB, free: 15.09 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8792260950431228]