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.001781/0.001781, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001877/0.001877, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.571/1.571, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3922/0.3922, allocations: 29.41 MB / 290.5 MB, free: 2.402 MB / 266.7 MB " [Timeout remaining time 179] 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 3.237e-06/3.237e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.621e-05, allocations: 5.266 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008828/0.008864, allocations: 6.103 MB / 375 MB, free: 5.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.01308, allocations: 1.943 MB / 376.9 MB, free: 3.242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.01347, allocations: 31.75 kB / 376.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.01548, allocations: 0.7001 MB / 377.6 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.01655, allocations: 393.7 kB / 378 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.01777, allocations: 414.7 kB / 378.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.01902, allocations: 0.9509 MB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006507/0.01967, allocations: 404.2 kB / 379.8 MB, free: 376 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009045/0.02058, allocations: 0.5724 MB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008973/0.02147, allocations: 0.5104 MB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.02161, allocations: 60 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006059/0.02222, allocations: 243.6 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004992/0.02272, allocations: 450.9 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004248/0.02314, allocations: 299.3 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.0248, allocations: 1.048 MB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.02481, allocations: 0 / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.02481, allocations: 3.938 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.02482, allocations: 0 / 382.9 MB, free: 13.2 MB / 362.7 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.00232/0.02714, allocations: 1.165 MB / 384.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.02719, allocations: 15.98 kB / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.02844, allocations: 296 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.02956, allocations: 0.4963 MB / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.02962, allocations: 62.36 kB / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.02977, allocations: 72.38 kB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.03136, allocations: 0.9376 MB / 386 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.03139, allocations: 7.875 kB / 386 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-05/0.03148, allocations: 36 kB / 386 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-05/0.03156, allocations: 49.92 kB / 386.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.03256, allocations: 451.3 kB / 386.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007334/0.0399, allocations: 6.07 MB / 392.6 MB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.04054, allocations: 292.5 kB / 392.9 MB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.0408, allocations: 123.4 kB / 393 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.044e-05/0.04085, allocations: 8 kB / 393 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.0409, allocations: 49.31 kB / 393 MB, free: 2.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.0409, allocations: 0 / 393 MB, free: 2.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001821/0.04272, allocations: 0.8042 MB / 393.8 MB, free: 1.777 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/0.0428, allocations: 81.11 kB / 393.9 MB, free: 1.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/0.04348, allocations: 0.5842 MB / 394.5 MB, free: 1.078 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.04351, allocations: 29.7 kB / 394.5 MB, free: 1.043 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.04398, allocations: 0.5255 MB / 395.1 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.04416, allocations: 174.6 kB / 395.2 MB, free: 348 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.04442, allocations: 176.2 kB / 395.4 MB, free: 160 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003886/0.0448, allocations: 0.5665 MB / 396 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.04507, allocations: 117.9 kB / 396.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.0461, allocations: 0.6888 MB / 396.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.04733, allocations: 0.8889 MB / 397.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.04734, allocations: 4 kB / 397.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001264/0.0486, allocations: 0.7043 MB / 398.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.04863, allocations: 15.94 kB / 398.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.04865, allocations: 12.91 kB / 398.4 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/0.04869, allocations: 20 kB / 398.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/0.04946, allocations: 219.6 kB / 398.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.696e-05/0.04951, allocations: 31.86 kB / 398.7 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.04993, allocations: 47.97 kB / 398.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.05, allocations: 43.98 kB / 398.8 MB, free: 12.29 MB / 378.7 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.0003133/0.05031, allocations: 228.2 kB / 399 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.05043, allocations: 75.56 kB / 399.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008995/0.05133, allocations: 403.1 kB / 399.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.05134, allocations: 4 kB / 399.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.05135, allocations: 0 / 399.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.05136, allocations: 3.984 kB / 399.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.05362, allocations: 1.163 MB / 400.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.05363, allocations: 8 kB / 400.6 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.05408, allocations: 112.1 kB / 400.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.05409, allocations: 4 kB / 400.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.05413, allocations: 16 kB / 400.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.05414, allocations: 7.938 kB / 400.8 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.05414, allocations: 0 / 400.8 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008883/0.05503, allocations: 0.6182 MB / 401.4 MB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.05515, allocations: 55.55 kB / 401.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.05522, allocations: 12 kB / 401.4 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.05548, allocations: 19.98 kB / 401.5 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.05556, allocations: 39.88 kB / 401.5 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.0556, allocations: 16 kB / 401.5 MB, free: 9.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003793/0.05597, allocations: 327 kB / 401.8 MB, free: 9.051 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05598, allocations: 0 / 401.8 MB, free: 9.051 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007109/0.05669, allocations: 164 kB / 402 MB, free: 8.891 MB / 378.7 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.0001486/0.05683, allocations: 107.1 kB / 402.1 MB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000855/0.05769, allocations: 469.6 kB / 402.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.05769, allocations: 0 / 402.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.058, allocations: 188.6 kB / 402.7 MB, free: 8.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.05869, allocations: 118.4 kB / 402.9 MB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.06113, allocations: 1.239 MB / 404.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.06162, allocations: 386.6 kB / 404.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004879/0.06211, allocations: 192.9 kB / 404.7 MB, free: 6.121 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.06225, allocations: 48.48 kB / 404.7 MB, free: 6.074 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.06225, allocations: 4 kB / 404.7 MB, free: 6.07 MB / 378.7 MB Notification: Performance of Templates: time 0.01283/0.07508, allocations: 5.424 MB / 410.1 MB, free: 0.7539 MB / 378.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.016036041080952]