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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 124.7 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 249.1 MB, free: 3.637 MB / 190.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.1831/0.1831, allocations: 38.5 MB / 342.5 MB, free: 8.047 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationFixedInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationFixedInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 64.86 kB / 478.6 MB, free: 33.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1123, allocations: 61.25 MB / 0.5272 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009688/0.1219, allocations: 7.645 MB / 0.5347 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004365/0.1263, allocations: 2.341 MB / 0.5369 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004986/0.1268, allocations: 27.81 kB / 0.537 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002265/0.1291, allocations: 0.8674 MB / 0.5378 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.1305, allocations: 0.5169 MB / 0.5383 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.1318, allocations: 439 kB / 0.5387 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.1335, allocations: 1.324 MB / 0.54 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008437/0.1344, allocations: 0.5294 MB / 0.5406 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009752/0.1354, allocations: 0.5875 MB / 0.5411 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.1365, allocations: 0.728 MB / 0.5418 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.1367, allocations: 80 kB / 0.5419 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.1373, allocations: 271.7 kB / 0.5422 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005685/0.1379, allocations: 0.5142 MB / 0.5427 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006383/0.1385, allocations: 0.5521 MB / 0.5432 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.1401, allocations: 1.327 MB / 0.5445 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1402, allocations: 3.984 kB / 0.5445 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1402, allocations: 0 / 0.5445 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.1402, allocations: 0 / 0.5445 GB, free: 15.58 MB / 414.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.002664/0.1428, allocations: 1.357 MB / 0.5458 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.1429, allocations: 19.88 kB / 0.5459 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.1431, allocations: 135.7 kB / 0.546 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.1441, allocations: 184.1 kB / 0.5462 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.1457, allocations: 0.7473 MB / 0.5469 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/0.1457, allocations: 62.38 kB / 0.547 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.146, allocations: 99.92 kB / 0.547 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.148, allocations: 1.227 MB / 0.5482 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.148, allocations: 11.89 kB / 0.5483 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.1481, allocations: 32 kB / 0.5483 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002551/0.1483, allocations: 61.97 kB / 0.5483 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.15, allocations: 1.022 MB / 0.5493 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006615/0.1566, allocations: 4.757 MB / 0.554 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.1577, allocations: 0.6257 MB / 0.5546 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.1584, allocations: 411.8 kB / 0.555 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.1584, allocations: 12.55 kB / 0.555 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007866/0.1592, allocations: 0.5119 MB / 0.5555 GB, free: 3.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 2.435e-06/0.1592, allocations: 0 / 0.5555 GB, free: 3.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005014/0.1643, allocations: 2.803 MB / 0.5582 GB, free: 1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.1644, allocations: 170.8 kB / 0.5584 GB, free: 0.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/0.1651, allocations: 0.5938 MB / 0.559 GB, free: 196 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.569e-05/0.1652, allocations: 41.7 kB / 0.559 GB, free: 148 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.1657, allocations: 496.1 kB / 0.5595 GB, free: 15.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.166, allocations: 261.8 kB / 0.5597 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.1662, allocations: 178.6 kB / 0.5599 GB, free: 15.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.1665, allocations: 390.7 kB / 0.5603 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006339/0.1671, allocations: 377.8 kB / 0.5607 GB, free: 14.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008522/0.1679, allocations: 0.6346 MB / 0.5613 GB, free: 13.7 MB / 430.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.007345/0.1753, allocations: 3.445 MB / 0.5646 GB, free: 10.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.1753, allocations: 4 kB / 0.5646 GB, free: 10.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002382/0.1777, allocations: 1.336 MB / 0.5659 GB, free: 8.723 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.1777, allocations: 41.84 kB / 0.566 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.1777, allocations: 8 kB / 0.566 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006601/0.1784, allocations: 242.3 kB / 0.5662 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.1795, allocations: 271.5 kB / 0.5665 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006388/0.1859, allocations: 6.082 MB / 0.5724 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.1865, allocations: 35.98 kB / 0.5725 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/0.1866, allocations: 32 kB / 0.5725 GB, free: 1.586 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.0005849/0.1872, allocations: 378.7 kB / 0.5728 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.1874, allocations: 83.42 kB / 0.5729 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.1895, allocations: 1.145 MB / 0.574 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.1895, allocations: 12 kB / 0.5741 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1895, allocations: 7.875 kB / 0.5741 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1895, allocations: 7.984 kB / 0.5741 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/0.1934, allocations: 2.242 MB / 0.5763 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1935, allocations: 0 / 0.5763 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009006/0.1944, allocations: 187.8 kB / 0.5764 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007042/0.1951, allocations: 242.4 kB / 0.5767 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/0.1951, allocations: 39.89 kB / 0.5767 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00615/0.2013, allocations: 6.004 MB / 0.5826 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2013, allocations: 3.984 kB / 0.5826 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.2042, allocations: 1.651 MB / 0.5842 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.2044, allocations: 152.6 kB / 0.5843 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2045, allocations: 20 kB / 0.5844 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.2049, allocations: 27.97 kB / 0.5844 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.2051, allocations: 60.36 kB / 0.5844 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.2051, allocations: 20 kB / 0.5845 GB, free: 4.703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005562/0.2057, allocations: 415 kB / 0.5849 GB, free: 4.301 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2057, allocations: 4 kB / 0.5849 GB, free: 4.297 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001118/0.2068, allocations: 275.9 kB / 0.5851 GB, free: 4.027 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.003239/0.21, allocations: 2.21 MB / 0.5873 GB, free: 1.758 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.2124, allocations: 1.356 MB / 0.5886 GB, free: 356 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.2124, allocations: 0 / 0.5886 GB, free: 356 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.2139, allocations: 0.882 MB / 0.5895 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009386/0.2148, allocations: 187.8 kB / 0.5896 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.2275, allocations: 8.187 MB / 0.5976 GB, free: 6.648 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/0.2284, allocations: 1.119 MB / 0.5987 GB, free: 5.504 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005883/0.229, allocations: 210.5 kB / 0.5989 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.2294, allocations: 335.3 kB / 0.5993 GB, free: 4.965 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2294, allocations: 0 / 0.5993 GB, free: 4.965 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2863/0.5157, allocations: 19.03 MB / 0.6178 GB, free: 70.26 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.92, allocations: 6.078 kB / 0.6178 GB, free: 70.26 MB / 462.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.701845165807754] Failed to read output from testmodel.py, exit status != 0: 12.016767440363765 12.033498287 11.890064183 Calling exit ...