Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001335/0.001335, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001534/0.001534, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1926/0.1926, allocations: 38.53 MB / 353.2 MB, free: 12.55 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="cs",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.002016/0.002016, allocations: 63.89 kB / 493.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 62.48 MB / 0.5428 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.009808/0.3466, allocations: 7.774 MB / 0.5504 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00475/0.3514, allocations: 2.386 MB / 0.5527 GB, free: 8.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.3519, allocations: 37.47 kB / 0.5527 GB, free: 8.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.3542, allocations: 0.8905 MB / 0.5536 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.3554, allocations: 0.5073 MB / 0.5541 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.3568, allocations: 460.8 kB / 0.5545 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.3584, allocations: 1.27 MB / 0.5558 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007573/0.3591, allocations: 0.5238 MB / 0.5563 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009011/0.36, allocations: 0.5724 MB / 0.5568 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.361, allocations: 0.6986 MB / 0.5575 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.3612, allocations: 74.72 kB / 0.5576 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005234/0.3617, allocations: 244 kB / 0.5578 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.3622, allocations: 0.502 MB / 0.5583 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000586/0.3628, allocations: 0.5208 MB / 0.5588 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.3643, allocations: 1.249 MB / 0.5601 GB, free: 2.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3643, allocations: 0 / 0.5601 GB, free: 2.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3643, allocations: 4 kB / 0.5601 GB, free: 2.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.3643, allocations: 3.938 kB / 0.5601 GB, free: 2.77 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.002402/0.3667, allocations: 1.261 MB / 0.5613 GB, free: 1.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3667, allocations: 11.98 kB / 0.5613 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.367e-05/0.3668, allocations: 26.12 kB / 0.5613 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.367, allocations: 143.7 kB / 0.5615 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.3681, allocations: 204.1 kB / 0.5617 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.3696, allocations: 0.6595 MB / 0.5623 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.3696, allocations: 66.11 kB / 0.5624 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.3698, allocations: 84 kB / 0.5624 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.3717, allocations: 1.171 MB / 0.5636 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.3717, allocations: 11.89 kB / 0.5636 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.317e-05/0.3718, allocations: 36 kB / 0.5636 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.064e-05/0.3719, allocations: 61.95 kB / 0.5637 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.3735, allocations: 0.9249 MB / 0.5646 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006302/0.3798, allocations: 4.69 MB / 0.5692 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.381, allocations: 0.6209 MB / 0.5698 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000556/0.3816, allocations: 347.8 kB / 0.5701 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.3816, allocations: 12.44 kB / 0.5701 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006739/0.3823, allocations: 432.9 kB / 0.5705 GB, free: 7.609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.265e-06/0.3823, allocations: 7.938 kB / 0.5705 GB, free: 7.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005917/0.3882, allocations: 2.315 MB / 0.5728 GB, free: 5.262 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.3884, allocations: 166.9 kB / 0.573 GB, free: 5.062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009592/0.3893, allocations: 0.5979 MB / 0.5736 GB, free: 4.457 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/0.3894, allocations: 45.69 kB / 0.5736 GB, free: 4.406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/0.3899, allocations: 495.9 kB / 0.5741 GB, free: 3.914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.3902, allocations: 234.1 kB / 0.5743 GB, free: 3.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.3904, allocations: 150.6 kB / 0.5744 GB, free: 3.531 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.3906, allocations: 390.7 kB / 0.5748 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.3911, allocations: 289.8 kB / 0.5751 GB, free: 2.855 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/0.3918, allocations: 0.5564 MB / 0.5756 GB, free: 2.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.3931, allocations: 0.9546 MB / 0.5766 GB, free: 1.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3931, allocations: 0 / 0.5766 GB, free: 1.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002527/0.3956, allocations: 1.218 MB / 0.5777 GB, free: 15.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.7e-05/0.3957, allocations: 37.7 kB / 0.5778 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.3957, allocations: 8 kB / 0.5778 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.3968, allocations: 341.4 kB / 0.5781 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.3973, allocations: 151.7 kB / 0.5783 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/0.4042, allocations: 5.19 MB / 0.5833 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/0.4048, allocations: 32.03 kB / 0.5834 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/0.4049, allocations: 43.98 kB / 0.5834 GB, free: 9.797 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.0005374/0.4055, allocations: 347.2 kB / 0.5837 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.4056, allocations: 91.42 kB / 0.5838 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.4076, allocations: 1.027 MB / 0.5848 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.4076, allocations: 8.141 kB / 0.5848 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4076, allocations: 4 kB / 0.5848 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.4076, allocations: 11.97 kB / 0.5848 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.411, allocations: 2.024 MB / 0.5868 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4111, allocations: 0 / 0.5868 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.4114, allocations: 71.89 kB / 0.5869 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000895/0.4123, allocations: 317.5 kB / 0.5872 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.4123, allocations: 16 kB / 0.5872 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006635/0.4189, allocations: 5.106 MB / 0.5922 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4189, allocations: 0 / 0.5922 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.421, allocations: 1.111 MB / 0.5933 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.4212, allocations: 75.47 kB / 0.5934 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.4213, allocations: 16 kB / 0.5934 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.4216, allocations: 19.98 kB / 0.5934 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.4218, allocations: 60.27 kB / 0.5934 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.4218, allocations: 23.91 kB / 0.5935 GB, free: 15.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005358/0.4223, allocations: 423 kB / 0.5939 GB, free: 14.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4223, allocations: 0 / 0.5939 GB, free: 14.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009939/0.4233, allocations: 268 kB / 0.5941 GB, free: 14.39 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.002337/0.4257, allocations: 1.675 MB / 0.5958 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.4278, allocations: 1.122 MB / 0.5969 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4278, allocations: 384 / 0.5969 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.4289, allocations: 0.7432 MB / 0.5976 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009698/0.4299, allocations: 176.7 kB / 0.5978 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.4412, allocations: 7.314 MB / 0.6049 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009334/0.4421, allocations: 1.107 MB / 0.606 GB, free: 1.719 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005147/0.4426, allocations: 178.4 kB / 0.6061 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004218/0.443, allocations: 323.3 kB / 0.6065 GB, free: 1.223 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.443, allocations: 0 / 0.6065 GB, free: 1.223 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05507/0.4981, allocations: 19.16 MB / 0.6252 GB, free: 14.24 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/16.43, allocations: 4.938 kB / 0.6252 GB, free: 14.23 MB / 478.1 MB " [Timeout remaining time 643] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationSteadyState.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.40960710804211] Failed to read output from testmodel.py, exit status != 0: 16.62287824897794 16.639623514 16.271741792 Calling exit ...