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.001309/0.001309, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001406/0.001406, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.1853/0.1853, allocations: 38.52 MB / 353.2 MB, free: 12.53 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 75.88 kB / 493.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3045, allocations: 62.46 MB / 0.5432 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009103/0.3136, allocations: 7.772 MB / 0.5508 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0043/0.3179, allocations: 2.379 MB / 0.5531 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.3183, allocations: 37.16 kB / 0.5532 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.3205, allocations: 0.8784 MB / 0.554 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.3217, allocations: 0.5126 MB / 0.5545 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.3229, allocations: 468.2 kB / 0.555 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.3245, allocations: 1.315 MB / 0.5563 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008556/0.3254, allocations: 0.5376 MB / 0.5568 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009948/0.3264, allocations: 0.5835 MB / 0.5573 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.3275, allocations: 0.741 MB / 0.5581 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.3276, allocations: 84 kB / 0.5582 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006356/0.3282, allocations: 295.6 kB / 0.5584 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005229/0.3288, allocations: 0.5142 MB / 0.5589 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005911/0.3293, allocations: 0.5481 MB / 0.5595 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.331, allocations: 1.327 MB / 0.5608 GB, free: 2.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.331, allocations: 3.938 kB / 0.5608 GB, free: 2.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.331, allocations: 0 / 0.5608 GB, free: 2.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.331, allocations: 0 / 0.5608 GB, free: 2.402 MB / 398.1 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.00248/0.3335, allocations: 1.301 MB / 0.562 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3335, allocations: 11.62 kB / 0.5621 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.3347, allocations: 212.1 kB / 0.5623 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.336, allocations: 0.6751 MB / 0.5629 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.3361, allocations: 62.38 kB / 0.563 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.3363, allocations: 112.1 kB / 0.5631 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.3382, allocations: 1.212 MB / 0.5643 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.3382, allocations: 11.92 kB / 0.5643 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.3383, allocations: 39.98 kB / 0.5643 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000256/0.3386, allocations: 61.97 kB / 0.5644 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.3402, allocations: 1.007 MB / 0.5654 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006413/0.3466, allocations: 4.662 MB / 0.5699 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.3477, allocations: 0.6299 MB / 0.5705 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006189/0.3484, allocations: 416.1 kB / 0.5709 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.858e-05/0.3484, allocations: 12.64 kB / 0.5709 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008064/0.3492, allocations: 0.5017 MB / 0.5714 GB, free: 7.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 2.184e-06/0.3492, allocations: 3.938 kB / 0.5714 GB, free: 7.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.004752/0.354, allocations: 2.744 MB / 0.5741 GB, free: 4.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.3541, allocations: 166.9 kB / 0.5743 GB, free: 4.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.3549, allocations: 0.5979 MB / 0.5748 GB, free: 3.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.3549, allocations: 41.7 kB / 0.5749 GB, free: 3.441 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.3553, allocations: 484.2 kB / 0.5754 GB, free: 2.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.3556, allocations: 269.8 kB / 0.5756 GB, free: 2.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.3558, allocations: 174.5 kB / 0.5758 GB, free: 2.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.356, allocations: 394.7 kB / 0.5762 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.3566, allocations: 373.8 kB / 0.5765 GB, free: 1.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008435/0.3575, allocations: 0.6349 MB / 0.5771 GB, free: 1.008 MB / 414.1 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.007393/0.3649, allocations: 3.225 MB / 0.5803 GB, free: 13.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.3649, allocations: 0 / 0.5803 GB, free: 13.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002418/0.3673, allocations: 1.332 MB / 0.5816 GB, free: 12.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.3673, allocations: 37.7 kB / 0.5816 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.3673, allocations: 8 kB / 0.5816 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/0.368, allocations: 250.9 kB / 0.5819 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.3691, allocations: 259.6 kB / 0.5821 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006167/0.3753, allocations: 5.779 MB / 0.5878 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.3758, allocations: 35.97 kB / 0.5878 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.3759, allocations: 40 kB / 0.5878 GB, free: 5.555 MB / 430.1 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.0005753/0.3765, allocations: 379.4 kB / 0.5882 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.3766, allocations: 87.48 kB / 0.5883 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.3788, allocations: 1.137 MB / 0.5894 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.3788, allocations: 8 kB / 0.5894 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3788, allocations: 8 kB / 0.5894 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3788, allocations: 3.984 kB / 0.5894 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.3825, allocations: 2.212 MB / 0.5916 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.3825, allocations: 7.984 kB / 0.5916 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/0.3834, allocations: 191.9 kB / 0.5918 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007119/0.3842, allocations: 258.2 kB / 0.592 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.3842, allocations: 23.92 kB / 0.592 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005736/0.39, allocations: 5.693 MB / 0.5976 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.39, allocations: 4.031 kB / 0.5976 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.3926, allocations: 1.644 MB / 0.5992 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.3928, allocations: 75.53 kB / 0.5993 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.3929, allocations: 27.98 kB / 0.5993 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.3933, allocations: 19.98 kB / 0.5993 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.3935, allocations: 68.42 kB / 0.5994 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.3935, allocations: 23.98 kB / 0.5994 GB, free: 9.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005124/0.394, allocations: 415 kB / 0.5998 GB, free: 8.777 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.394, allocations: 0 / 0.5998 GB, free: 8.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001011/0.395, allocations: 271.9 kB / 0.6 GB, free: 8.512 MB / 446.1 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.0002136/0.3953, allocations: 131.2 kB / 0.6002 GB, free: 8.375 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.3974, allocations: 1.345 MB / 0.6015 GB, free: 6.977 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3974, allocations: 3.938 kB / 0.6015 GB, free: 6.973 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.3989, allocations: 0.8826 MB / 0.6024 GB, free: 6.043 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.3997, allocations: 200.7 kB / 0.6025 GB, free: 5.855 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.4035, allocations: 2.288 MB / 0.6048 GB, free: 3.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/0.4043, allocations: 1.115 MB / 0.6059 GB, free: 2.371 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.4045, allocations: 59.44 kB / 0.6059 GB, free: 2.312 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4045, allocations: 0 / 0.6059 GB, free: 2.312 MB / 446.1 MB Notification: Performance of Templates: time 0.02808/0.4326, allocations: 21.23 MB / 0.6267 GB, free: 13.09 MB / 478.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.218988890992478] Failed to read output from testmodel.py, exit status != 0: 0.4414047480095178 0.455213729 0.121197072 Calling exit ...