Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.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.001362/0.001362, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001501/0.001501, allocations: 209 kB / 24.48 MB, free: 3.938 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.458/1.458, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.56 MB / 353.2 MB, free: 12.31 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.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") [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.002126/0.002126, allocations: 71.89 kB / 493.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3015, allocations: 62.47 MB / 0.5432 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005511/0.3071, allocations: 3.608 MB / 0.5467 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.3103, allocations: 1.832 MB / 0.5485 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.3105, allocations: 12.38 kB / 0.5485 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008735/0.3114, allocations: 232.2 kB / 0.5487 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007852/0.3122, allocations: 308.3 kB / 0.549 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.3127, allocations: 182.6 kB / 0.5492 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000557/0.3132, allocations: 448 kB / 0.5496 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.3136, allocations: 167.3 kB / 0.5498 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.314, allocations: 201.1 kB / 0.55 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.3143, allocations: 183.5 kB / 0.5501 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.3143, allocations: 30.19 kB / 0.5502 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006188/0.3149, allocations: 323.9 kB / 0.5505 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.3151, allocations: 128.3 kB / 0.5506 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.3152, allocations: 124.6 kB / 0.5507 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008408/0.3161, allocations: 0.5769 MB / 0.5513 GB, free: 10.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3161, allocations: 0 / 0.5513 GB, free: 10.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3161, allocations: 0 / 0.5513 GB, free: 10.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3161, allocations: 4 kB / 0.5513 GB, free: 10.42 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009855/0.3171, allocations: 0.5806 MB / 0.5518 GB, free: 9.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3171, allocations: 17.41 kB / 0.5519 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007438/0.3178, allocations: 98.23 kB / 0.5519 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.3184, allocations: 287.5 kB / 0.5522 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.3184, allocations: 16.59 kB / 0.5522 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.3185, allocations: 27.64 kB / 0.5523 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.3192, allocations: 398.7 kB / 0.5526 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3192, allocations: 1.156 kB / 0.5526 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.3192, allocations: 6.281 kB / 0.5527 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.3192, allocations: 19.95 kB / 0.5527 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.32, allocations: 436.5 kB / 0.5531 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.3221, allocations: 1.356 MB / 0.5544 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/0.3228, allocations: 338.3 kB / 0.5547 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.323, allocations: 111.2 kB / 0.5548 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3231, allocations: 3.656 kB / 0.5548 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.3234, allocations: 221.1 kB / 0.5551 GB, free: 7.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.3235, allocations: 0.9375 kB / 0.5551 GB, free: 7.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008821/0.3243, allocations: 427.2 kB / 0.5555 GB, free: 7.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.3244, allocations: 143.8 kB / 0.5556 GB, free: 7.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.3249, allocations: 341.8 kB / 0.5559 GB, free: 6.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.3249, allocations: 33.7 kB / 0.556 GB, free: 6.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.3251, allocations: 180.3 kB / 0.5561 GB, free: 6.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.446e-05/0.3252, allocations: 91.38 kB / 0.5562 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3253, allocations: 57.92 kB / 0.5563 GB, free: 6.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3254, allocations: 342.8 kB / 0.5566 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.3257, allocations: 112.5 kB / 0.5567 GB, free: 6.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.326, allocations: 225.2 kB / 0.5569 GB, free: 5.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.3265, allocations: 327.9 kB / 0.5572 GB, free: 5.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3265, allocations: 8.031 kB / 0.5572 GB, free: 5.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000691/0.3272, allocations: 373.1 kB / 0.5576 GB, free: 5.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3272, allocations: 8 kB / 0.5576 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3272, allocations: 4 kB / 0.5576 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.3272, allocations: 4 kB / 0.5576 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.3275, allocations: 64.22 kB / 0.5577 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.3276, allocations: 15.92 kB / 0.5577 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.3277, allocations: 27.78 kB / 0.5577 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.3278, allocations: 15.94 kB / 0.5577 GB, free: 4.949 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.city.data.nextTimeEvent,$whenCondition1,city.data.nextTimeEventScaled,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEvent,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.328, allocations: 183.8 kB / 0.5579 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.328, allocations: 27.81 kB / 0.5579 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000769/0.3288, allocations: 400.1 kB / 0.5583 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.3288, allocations: 4 kB / 0.5583 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3288, allocations: 4 kB / 0.5583 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3288, allocations: 4 kB / 0.5583 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.3301, allocations: 0.752 MB / 0.5591 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.3301, allocations: 4 kB / 0.5591 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.3303, allocations: 59.91 kB / 0.5591 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.3303, allocations: 4 kB / 0.5591 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.3303, allocations: 8 kB / 0.5591 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.3303, allocations: 4 kB / 0.5591 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3303, allocations: 7.875 kB / 0.5591 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007191/0.3311, allocations: 484 kB / 0.5596 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.3311, allocations: 35.75 kB / 0.5596 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.3312, allocations: 19.98 kB / 0.5597 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.3313, allocations: 8 kB / 0.5597 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.3314, allocations: 27.89 kB / 0.5597 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.3314, allocations: 12 kB / 0.5597 GB, free: 2.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002952/0.3317, allocations: 251 kB / 0.5599 GB, free: 2.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3317, allocations: 0 / 0.5599 GB, free: 2.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004621/0.3322, allocations: 103.8 kB / 0.56 GB, free: 2.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001954/0.3342, allocations: 0.543 MB / 0.5606 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005772/0.3347, allocations: 283.7 kB / 0.5608 GB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3347, allocations: 0 / 0.5608 GB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.335, allocations: 143.8 kB / 0.561 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.3356, allocations: 60.88 kB / 0.561 GB, free: 1.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.3368, allocations: 0.6874 MB / 0.5617 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.337, allocations: 196.9 kB / 0.5619 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3371, allocations: 47.36 kB / 0.5619 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3371, allocations: 0 / 0.5619 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of Templates: time 0.009007/0.3462, allocations: 5.141 MB / 0.567 GB, free: 11.6 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.091427427250892] Failed to read output from testmodel.py, exit status != 0: 0.3559202579781413 0.371719513 0.052373152000000006 Calling exit ...