Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.002067/0.002067, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002413/0.002413, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.1985/0.1985, allocations: 38.52 MB / 352.4 MB, free: 12.56 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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [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.00302/0.00302, allocations: 67.91 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3411, allocations: 62.46 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01138/0.3525, allocations: 7.787 MB / 0.5496 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005549/0.358, allocations: 2.383 MB / 0.5519 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008683/0.3589, allocations: 37 kB / 0.552 GB, free: 8.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.3616, allocations: 0.8784 MB / 0.5528 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.3632, allocations: 0.5164 MB / 0.5533 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.3648, allocations: 461.4 kB / 0.5538 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002184/0.367, allocations: 1.278 MB / 0.555 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.3682, allocations: 0.5201 MB / 0.5555 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.3696, allocations: 0.5718 MB / 0.5561 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.3715, allocations: 0.7064 MB / 0.5568 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004129/0.3719, allocations: 74.81 kB / 0.5568 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.3729, allocations: 240.6 kB / 0.5571 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007431/0.3736, allocations: 0.4957 MB / 0.5576 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.3747, allocations: 0.5247 MB / 0.5581 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.3767, allocations: 1.253 MB / 0.5593 GB, free: 2.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3767, allocations: 0 / 0.5593 GB, free: 2.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3767, allocations: 0 / 0.5593 GB, free: 2.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.367e-05/0.3768, allocations: 0 / 0.5593 GB, free: 2.754 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.002831/0.3796, allocations: 1.263 MB / 0.5605 GB, free: 1.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3796, allocations: 15.98 kB / 0.5605 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002148/0.3799, allocations: 143.7 kB / 0.5607 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.3809, allocations: 204.1 kB / 0.5609 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.3823, allocations: 0.6633 MB / 0.5615 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/0.3824, allocations: 62.38 kB / 0.5616 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.3825, allocations: 79.94 kB / 0.5617 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.3844, allocations: 1.171 MB / 0.5628 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.3845, allocations: 15.88 kB / 0.5628 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/0.3846, allocations: 35.98 kB / 0.5629 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.145e-05/0.3846, allocations: 53.98 kB / 0.5629 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.3862, allocations: 0.9288 MB / 0.5638 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00628/0.3925, allocations: 4.686 MB / 0.5684 GB, free: 9.074 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.3938, allocations: 0.6248 MB / 0.569 GB, free: 8.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/0.3943, allocations: 343.9 kB / 0.5693 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.044e-05/0.3944, allocations: 16.36 kB / 0.5693 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007015/0.3951, allocations: 440.8 kB / 0.5698 GB, free: 7.609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.585e-06/0.3951, allocations: 4 kB / 0.5698 GB, free: 7.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005685/0.4007, allocations: 2.311 MB / 0.572 GB, free: 5.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.4008, allocations: 166.8 kB / 0.5722 GB, free: 5.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/0.4016, allocations: 0.6057 MB / 0.5728 GB, free: 4.461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.4017, allocations: 37.7 kB / 0.5728 GB, free: 4.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/0.4021, allocations: 499.9 kB / 0.5733 GB, free: 3.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.4023, allocations: 234.1 kB / 0.5735 GB, free: 3.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.4026, allocations: 154.6 kB / 0.5737 GB, free: 3.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.4028, allocations: 386.8 kB / 0.574 GB, free: 3.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.4033, allocations: 285.8 kB / 0.5743 GB, free: 2.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007362/0.404, allocations: 0.5564 MB / 0.5748 GB, free: 2.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.4053, allocations: 0.9545 MB / 0.5758 GB, free: 1.094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.4053, allocations: 4 kB / 0.5758 GB, free: 1.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002265/0.4076, allocations: 1.218 MB / 0.577 GB, free: 15.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.4076, allocations: 37.69 kB / 0.577 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.4076, allocations: 8 kB / 0.577 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.4087, allocations: 337.7 kB / 0.5773 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.4092, allocations: 147.7 kB / 0.5775 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006575/0.4158, allocations: 5.187 MB / 0.5825 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.4163, allocations: 28.03 kB / 0.5826 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.4164, allocations: 40 kB / 0.5826 GB, free: 9.812 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005542/0.417, allocations: 355.2 kB / 0.5829 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.4171, allocations: 83.42 kB / 0.583 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.4191, allocations: 1.035 MB / 0.584 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.4191, allocations: 8 kB / 0.584 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.4192, allocations: 7.984 kB / 0.584 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4192, allocations: 0 / 0.584 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.4227, allocations: 2.02 MB / 0.586 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4227, allocations: 0 / 0.586 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.4231, allocations: 75.91 kB / 0.5861 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009229/0.424, allocations: 313.8 kB / 0.5864 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.424, allocations: 19.94 kB / 0.5864 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006577/0.4306, allocations: 5.115 MB / 0.5914 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.4306, allocations: 4 kB / 0.5914 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.4326, allocations: 1.111 MB / 0.5925 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.4328, allocations: 79.41 kB / 0.5926 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.433, allocations: 12 kB / 0.5926 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.4333, allocations: 19.98 kB / 0.5926 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.4335, allocations: 64.28 kB / 0.5927 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.4335, allocations: 19.94 kB / 0.5927 GB, free: 15.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005818/0.4341, allocations: 423 kB / 0.5931 GB, free: 14.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4341, allocations: 0 / 0.5931 GB, free: 14.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009947/0.4351, allocations: 268 kB / 0.5933 GB, free: 14.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002335/0.4374, allocations: 1.671 MB / 0.595 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.4396, allocations: 1.122 MB / 0.5961 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4396, allocations: 0 / 0.5961 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.4409, allocations: 0.7393 MB / 0.5968 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009982/0.4419, allocations: 192.9 kB / 0.597 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.4549, allocations: 7.311 MB / 0.6041 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.4559, allocations: 1.107 MB / 0.6052 GB, free: 1.719 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005075/0.4564, allocations: 170.3 kB / 0.6054 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/0.4569, allocations: 327.3 kB / 0.6057 GB, free: 1.227 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4569, allocations: 0 / 0.6057 GB, free: 1.227 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08043/0.5373, allocations: 19.12 MB / 0.6243 GB, free: 14.28 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.36, allocations: 15.58 kB / 0.6244 GB, free: 14.27 MB / 478.1 MB " [Timeout remaining time 644] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.209451713832095] Failed to read output from testmodel.py, exit status != 0: 16.48144472995773 16.49746353 16.117272629 Calling exit ...