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.001387/0.001387, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001395/0.001395, allocations: 165 kB / 24.56 MB, free: 12 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 0.9836/0.9836, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2303/0.2303, allocations: 29.42 MB / 290.9 MB, free: 2.484 MB / 266.7 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.542e-06/1.542e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.658e-05, allocations: 6.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.004455/0.004471, allocations: 5.086 MB / 374.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.006856, allocations: 1.959 MB / 376.7 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.007093, allocations: 31.75 kB / 376.7 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.007607, allocations: 198.8 kB / 376.9 MB, free: 3.691 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005089/0.008115, allocations: 385.8 kB / 377.3 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/0.008793, allocations: 418.7 kB / 377.7 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007166/0.00951, allocations: 0.9586 MB / 378.6 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.009938, allocations: 392.3 kB / 379 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007985/0.01074, allocations: 0.6001 MB / 379.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004161/0.01115, allocations: 494.7 kB / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.244e-05/0.01122, allocations: 56 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.01154, allocations: 251.5 kB / 380.4 MB, free: 176 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.01181, allocations: 447.1 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.01211, allocations: 291.3 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.01274, allocations: 0.7709 MB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.01274, allocations: 3.938 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01274, allocations: 4 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.01275, allocations: 3.938 kB / 381.9 MB, free: 14.66 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.00107/0.01382, allocations: 1.111 MB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.01386, allocations: 11.98 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006603/0.01452, allocations: 296.1 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.01501, allocations: 498.1 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.01504, allocations: 58.38 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/0.01511, allocations: 72.38 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.016, allocations: 0.8751 MB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.01603, allocations: 7.875 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.01607, allocations: 36 kB / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.01612, allocations: 49.98 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.01668, allocations: 419.2 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.01979, allocations: 5.877 MB / 391.2 MB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.02013, allocations: 257.3 kB / 391.4 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.02026, allocations: 111.4 kB / 391.6 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.02029, allocations: 12.67 kB / 391.6 MB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.02032, allocations: 45.33 kB / 391.6 MB, free: 4.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.844e-06/0.02032, allocations: 0 / 391.6 MB, free: 4.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009677/0.02128, allocations: 0.7607 MB / 392.4 MB, free: 3.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.02132, allocations: 81.11 kB / 392.5 MB, free: 3.598 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.02164, allocations: 0.5061 MB / 393 MB, free: 3.074 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.02167, allocations: 33.7 kB / 393 MB, free: 3.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.02187, allocations: 0.5136 MB / 393.5 MB, free: 2.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.527e-05/0.02195, allocations: 170.8 kB / 393.7 MB, free: 2.348 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.02208, allocations: 160.2 kB / 393.8 MB, free: 2.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.0222, allocations: 0.5391 MB / 394.4 MB, free: 1.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.02234, allocations: 105.9 kB / 394.5 MB, free: 1.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.02269, allocations: 0.6615 MB / 395.1 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.02326, allocations: 0.846 MB / 396 MB, free: 15.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.02327, allocations: 4 kB / 396 MB, free: 15.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006565/0.02392, allocations: 0.6732 MB / 396.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.02394, allocations: 11.94 kB / 396.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.02395, allocations: 16 kB / 396.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.02397, allocations: 16.78 kB / 396.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.02435, allocations: 227.6 kB / 396.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.02436, allocations: 31.86 kB / 397 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.02457, allocations: 51.91 kB / 397 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.02461, allocations: 40 kB / 397 MB, free: 14.45 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.0001321/0.02474, allocations: 212.3 kB / 397.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.0248, allocations: 67.61 kB / 397.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.02522, allocations: 383.1 kB / 397.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.02522, allocations: 19.94 kB / 397.7 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.02523, allocations: 0 / 397.7 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.02523, allocations: 3.984 kB / 397.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.02625, allocations: 1.042 MB / 398.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.02626, allocations: 4 kB / 398.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.02647, allocations: 108.1 kB / 398.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.02648, allocations: 8 kB / 398.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.0265, allocations: 8 kB / 398.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.0265, allocations: 11.98 kB / 398.9 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.0265, allocations: 3.938 kB / 398.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.02691, allocations: 0.5792 MB / 399.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.02695, allocations: 51.66 kB / 399.5 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.02699, allocations: 12 kB / 399.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.02711, allocations: 19.98 kB / 399.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.02715, allocations: 39.86 kB / 399.6 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.02717, allocations: 23.98 kB / 399.6 MB, free: 11.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.02734, allocations: 295 kB / 399.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02734, allocations: 0 / 399.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.02772, allocations: 160 kB / 400.1 MB, free: 11.28 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 8.168e-05/0.02781, allocations: 107.1 kB / 400.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004385/0.02824, allocations: 420.9 kB / 400.6 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.02825, allocations: 0 / 400.6 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.0284, allocations: 169.6 kB / 400.7 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.0288, allocations: 108.8 kB / 400.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.03029, allocations: 1.239 MB / 402.1 MB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.03042, allocations: 206 kB / 402.3 MB, free: 8.938 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.0307, allocations: 192.8 kB / 402.5 MB, free: 8.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.503e-05/0.03079, allocations: 56.48 kB / 402.5 MB, free: 8.691 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03079, allocations: 3.938 kB / 402.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of Templates: time 0.007519/0.03831, allocations: 5.674 MB / 408.2 MB, free: 3.133 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: 2.9614424938336015]