Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.001399/0.001399, allocations: 109 kB / 20.53 MB, free: 1.43 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.001621/0.001621, allocations: 211.4 kB / 23.83 MB, free: 4.641 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.486/1.486, allocations: 230.6 MB / 257.6 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04083/0.04083, allocations: 6.139 MB / 320.2 MB, free: 12.97 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 48.06 kB / 445.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1407, allocations: 55.02 MB / 0.4886 GB, free: 14.28 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.00499/0.1457, allocations: 3.75 MB / 0.4923 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.1489, allocations: 2.007 MB / 0.4942 GB, free: 8.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.1491, allocations: 16 kB / 0.4942 GB, free: 8.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.1497, allocations: 222.6 kB / 0.4944 GB, free: 8.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008415/0.1505, allocations: 377.6 kB / 0.4948 GB, free: 7.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.1531, allocations: 1.339 MB / 0.4961 GB, free: 6.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.1542, allocations: 0.762 MB / 0.4969 GB, free: 5.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.1545, allocations: 174.1 kB / 0.497 GB, free: 5.613 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.1548, allocations: 338.7 kB / 0.4973 GB, free: 5.281 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005613/0.1554, allocations: 422.2 kB / 0.4977 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.1555, allocations: 60 kB / 0.4978 GB, free: 4.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006201/0.1561, allocations: 299.8 kB / 0.4981 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1562, allocations: 163.3 kB / 0.4982 GB, free: 4.355 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.1566, allocations: 374.1 kB / 0.4986 GB, free: 3.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1577, allocations: 0.93 MB / 0.4995 GB, free: 3.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1577, allocations: 0 / 0.4995 GB, free: 3.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1577, allocations: 4 kB / 0.4995 GB, free: 3.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1578, allocations: 4 kB / 0.4995 GB, free: 3.047 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008729/0.1665, allocations: 2.076 MB / 0.5015 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1665, allocations: 12.03 kB / 0.5016 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.533e-05/0.1666, allocations: 13.19 kB / 0.5016 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.1667, allocations: 94.7 kB / 0.5017 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.1669, allocations: 80.47 kB / 0.5017 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.1676, allocations: 420.2 kB / 0.5021 GB, free: 300 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.1676, allocations: 45.38 kB / 0.5022 GB, free: 252 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.1677, allocations: 64.31 kB / 0.5022 GB, free: 188 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.1692, allocations: 0.8586 MB / 0.5031 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1692, allocations: 0 / 0.5031 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.617e-05/0.1693, allocations: 23.94 kB / 0.5031 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1693, allocations: 12 kB / 0.5031 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.1706, allocations: 0.8083 MB / 0.5039 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/0.175, allocations: 2.624 MB / 0.5065 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.1767, allocations: 0.965 MB / 0.5074 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008254/0.1775, allocations: 0.5182 MB / 0.5079 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-05/0.1776, allocations: 28.95 kB / 0.5079 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.1777, allocations: 51.5 kB / 0.508 GB, free: 10.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.585e-06/0.1777, allocations: 0 / 0.508 GB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.0156/0.1933, allocations: 3.846 MB / 0.5117 GB, free: 6.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.1934, allocations: 119.8 kB / 0.5119 GB, free: 6.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006973/0.1941, allocations: 425.8 kB / 0.5123 GB, free: 5.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.1943, allocations: 49.7 kB / 0.5123 GB, free: 5.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.1945, allocations: 233.8 kB / 0.5125 GB, free: 5.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000353/0.1948, allocations: 317.2 kB / 0.5128 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.1952, allocations: 178.6 kB / 0.513 GB, free: 4.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1954, allocations: 370.8 kB / 0.5134 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000897/0.1963, allocations: 0.5408 MB / 0.5139 GB, free: 4.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009965/0.1973, allocations: 0.6302 MB / 0.5145 GB, free: 3.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.1993, allocations: 1.22 MB / 0.5157 GB, free: 2.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1993, allocations: 0 / 0.5157 GB, free: 2.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.1952/0.3946, allocations: 2.349 MB / 0.518 GB, free: 28.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.3946, allocations: 6.562 kB / 0.518 GB, free: 28.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3946, allocations: 0 / 0.518 GB, free: 28.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006638/0.4012, allocations: 1.7 MB / 0.5197 GB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.4019, allocations: 144.3 kB / 0.5198 GB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.415, allocations: 7.237 MB / 0.5269 GB, free: 26.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.4158, allocations: 92.75 kB / 0.527 GB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/0.4159, allocations: 33.91 kB / 0.527 GB, free: 26.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000297/0.4162, allocations: 207.3 kB / 0.5272 GB, free: 26.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.4163, allocations: 70.45 kB / 0.5273 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006426/0.4228, allocations: 2.29 MB / 0.5295 GB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.4228, allocations: 11.19 kB / 0.5295 GB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4228, allocations: 0.7969 kB / 0.5295 GB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.4228, allocations: 5.062 kB / 0.5295 GB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007425/0.4302, allocations: 3.261 MB / 0.5327 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.4302, allocations: 1.969 kB / 0.5327 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.4306, allocations: 114.2 kB / 0.5328 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006485/0.4371, allocations: 1.489 MB / 0.5343 GB, free: 23.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.4372, allocations: 27.28 kB / 0.5343 GB, free: 23.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/0.4498, allocations: 7.133 MB / 0.5412 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4498, allocations: 0 / 0.5412 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005859/0.4556, allocations: 2.237 MB / 0.5434 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.4558, allocations: 83.67 kB / 0.5435 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.4559, allocations: 20.5 kB / 0.5435 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.4566, allocations: 57.94 kB / 0.5436 GB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.4569, allocations: 82.67 kB / 0.5437 GB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/0.457, allocations: 28.66 kB / 0.5437 GB, free: 18.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003438/0.4573, allocations: 289.8 kB / 0.544 GB, free: 18.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4573, allocations: 0 / 0.544 GB, free: 18.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001165/0.4585, allocations: 336.6 kB / 0.5443 GB, free: 18.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00593/0.4644, allocations: 2.828 MB / 0.5471 GB, free: 16.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004478/0.4689, allocations: 1.865 MB / 0.5489 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.4689, allocations: 3.938 kB / 0.5489 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003083/0.472, allocations: 1.239 MB / 0.5501 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.4726, allocations: 78.62 kB / 0.5502 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.4889, allocations: 9.005 MB / 0.559 GB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.4893, allocations: 0.9179 MB / 0.5598 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000363/0.4897, allocations: 96.27 kB / 0.5599 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.49, allocations: 239.3 kB / 0.5602 GB, free: 5.133 MB / 382.1 MB Notification: Performance of SimCode: time 1.934e-06/0.49, allocations: 0 / 0.5602 GB, free: 5.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06221/0.5522, allocations: 29.57 MB / 0.5891 GB, free: 7.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.1, allocations: 7.5 kB / 0.5891 GB, free: 7.758 MB / 414.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.98600176803302] Failed to read output from testmodel.py, exit status != 0: 15.290583093999885 15.315747327 15.1534168 Calling exit ...