Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.001556/0.001556, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001704/0.001704, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.459/1.459, allocations: 177.1 MB / 204.3 MB, free: 9.195 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.204/0.204, allocations: 29.44 MB / 290.1 MB, free: 3.297 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.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.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 430.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.338e-05, allocations: 6.219 kB / 430.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.007788/0.007811, allocations: 5.799 MB / 436.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.01147, allocations: 1.869 MB / 438.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004768/0.01194, allocations: 27.75 kB / 438.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.01399, allocations: 0.6908 MB / 439.1 MB, free: 9.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009807/0.01497, allocations: 393.7 kB / 439.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.0161, allocations: 422.7 kB / 439.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.01736, allocations: 0.9548 MB / 440.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006585/0.01802, allocations: 388.3 kB / 441.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.01908, allocations: 0.5686 MB / 441.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008503/0.01993, allocations: 0.4987 MB / 442.3 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.02007, allocations: 64 kB / 442.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005334/0.0206, allocations: 251.5 kB / 442.6 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.02104, allocations: 438.9 kB / 443 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.02148, allocations: 291.4 kB / 443.3 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.0227, allocations: 1.048 MB / 444.3 MB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.02271, allocations: 0 / 444.3 MB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.02271, allocations: 0 / 444.3 MB, free: 4.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.539e-05/0.02273, allocations: 0 / 444.3 MB, free: 4.262 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001875/0.02461, allocations: 1.022 MB / 445.4 MB, free: 3.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.02464, allocations: 12.03 kB / 445.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.02569, allocations: 204.2 kB / 445.6 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009172/0.02661, allocations: 489.4 kB / 446.1 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/0.02667, allocations: 62.36 kB / 446.1 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.02681, allocations: 72.38 kB / 446.2 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.02852, allocations: 1.13 MB / 447.3 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.02856, allocations: 11.88 kB / 447.3 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.02864, allocations: 32 kB / 447.4 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.131e-05/0.02871, allocations: 53.97 kB / 447.4 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.03012, allocations: 0.8661 MB / 448.3 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2028/0.2329, allocations: 4.695 MB / 453 MB, free: 26.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/0.2336, allocations: 397.6 kB / 453.4 MB, free: 26.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.2339, allocations: 192.8 kB / 453.6 MB, free: 26.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.2339, allocations: 11.06 kB / 453.6 MB, free: 26.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.2339, allocations: 43.14 kB / 453.6 MB, free: 26.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.2339, allocations: 0 / 453.6 MB, free: 26.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001805/0.2358, allocations: 1.084 MB / 454.7 MB, free: 26.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.2358, allocations: 86.72 kB / 454.8 MB, free: 25.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.2363, allocations: 0.4886 MB / 455.3 MB, free: 25.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.2363, allocations: 30.83 kB / 455.3 MB, free: 25.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.2365, allocations: 472.7 kB / 455.8 MB, free: 25.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.2366, allocations: 164.7 kB / 455.9 MB, free: 25.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.2368, allocations: 144.4 kB / 456.1 MB, free: 25.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.2369, allocations: 369.8 kB / 456.4 MB, free: 24.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.2373, allocations: 236.9 kB / 456.6 MB, free: 24.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.2378, allocations: 0.6199 MB / 457.3 MB, free: 24.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.2388, allocations: 0.9381 MB / 458.2 MB, free: 23.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.2389, allocations: 11.2 kB / 458.2 MB, free: 23.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001365/0.2402, allocations: 0.8934 MB / 459.1 MB, free: 23.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.2402, allocations: 11.5 kB / 459.1 MB, free: 23.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.2403, allocations: 14.86 kB / 459.1 MB, free: 23.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-05/0.2403, allocations: 18.75 kB / 459.2 MB, free: 23.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/0.2411, allocations: 224.9 kB / 459.4 MB, free: 23.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.223e-05/0.2411, allocations: 25.2 kB / 459.4 MB, free: 23.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.2416, allocations: 55.17 kB / 459.5 MB, free: 23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.2417, allocations: 40.12 kB / 459.5 MB, free: 23 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0003824/0.2421, allocations: 303.6 kB / 459.8 MB, free: 22.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/0.2421, allocations: 52.98 kB / 459.8 MB, free: 22.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009737/0.2431, allocations: 0.5599 MB / 460.4 MB, free: 22.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.2431, allocations: 5 kB / 460.4 MB, free: 22.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2431, allocations: 5.766 kB / 460.4 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.2431, allocations: 2.156 kB / 460.4 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.2451, allocations: 1.159 MB / 461.6 MB, free: 21.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2451, allocations: 6.406 kB / 461.6 MB, free: 21.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.2455, allocations: 113.1 kB / 461.7 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.2455, allocations: 5.156 kB / 461.7 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.2455, allocations: 10.95 kB / 461.7 MB, free: 21.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.2455, allocations: 4.656 kB / 461.7 MB, free: 21.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.2456, allocations: 2.562 kB / 461.7 MB, free: 21.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000876/0.2464, allocations: 0.6442 MB / 462.4 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.2465, allocations: 51.08 kB / 462.4 MB, free: 21.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/0.2466, allocations: 18.05 kB / 462.4 MB, free: 21.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.2468, allocations: 25.34 kB / 462.4 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.2469, allocations: 41.91 kB / 462.5 MB, free: 21.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.247, allocations: 19.84 kB / 462.5 MB, free: 21.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003123/0.2473, allocations: 308.2 kB / 462.8 MB, free: 21.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2473, allocations: 0 / 462.8 MB, free: 21.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006903/0.248, allocations: 161.8 kB / 463 MB, free: 21.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001169/0.2481, allocations: 106.4 kB / 463.1 MB, free: 21.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008933/0.249, allocations: 0.5857 MB / 463.7 MB, free: 21.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.249, allocations: 4.25 kB / 463.7 MB, free: 21.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.2493, allocations: 216.9 kB / 463.9 MB, free: 20.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000683/0.25, allocations: 112.3 kB / 464 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.2521, allocations: 1.353 MB / 465.3 MB, free: 20.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.2525, allocations: 403.8 kB / 465.7 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005564/0.2531, allocations: 224.4 kB / 465.9 MB, free: 20.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.2533, allocations: 56.62 kB / 466 MB, free: 20.07 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2533, allocations: 0 / 466 MB, free: 20.07 MB / 366.1 MB Notification: Performance of Templates: time 0.01212/0.2654, allocations: 5.39 MB / 471.4 MB, free: 18.69 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.984386064112186] Failed to read output from testmodel.py, exit status != 0: 0.2735709212720394 0.282907494 0.25797156199999993 Calling exit ...