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.000723/0.000723, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009361/0.001659, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009966/0.0009966, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.002318, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9242/0.9242, allocations: 177.2 MB / 189.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08592/1.01, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.131/0.131, allocations: 29.44 MB / 273.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1447/0.2757, allocations: 9.514 MB / 283.1 MB, free: 12.82 MB / 282.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.643e-06/1.643e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.311e-05, allocations: 2.312 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006382/0.006395, allocations: 5.196 MB / 289.6 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004329/0.01072, allocations: 2 MB / 291.6 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003876/0.01111, allocations: 31.5 kB / 291.6 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006676/0.01178, allocations: 220.3 kB / 291.9 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009027/0.01268, allocations: 423.8 kB / 292.3 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.01382, allocations: 411.2 kB / 292.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.01528, allocations: 1.012 MB / 293.7 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007338/0.01601, allocations: 410.7 kB / 294.1 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.01717, allocations: 0.6488 MB / 294.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008501/0.01802, allocations: 0.4965 MB / 295.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.01814, allocations: 56 kB / 295.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000622/0.01877, allocations: 251.5 kB / 295.5 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004573/0.01922, allocations: 419.1 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.01959, allocations: 251.5 kB / 296.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006971/0.02028, allocations: 0.7163 MB / 296.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.02029, allocations: 0 / 296.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.02029, allocations: 0 / 296.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.02031, allocations: 4 kB / 296.9 MB, free: 2.148 MB / 282.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.001412/0.02173, allocations: 1.138 MB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.02176, allocations: 8.031 kB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.02297, allocations: 305.7 kB / 298.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.02351, allocations: 448.8 kB / 298.8 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.02355, allocations: 58.38 kB / 298.8 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.991e-05/0.02363, allocations: 76.33 kB / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.02436, allocations: 0.762 MB / 299.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.02439, allocations: 7.875 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.02443, allocations: 32 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/0.02449, allocations: 49.97 kB / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.0249, allocations: 317.4 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.028, allocations: 4.201 MB / 304.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.02829, allocations: 198.6 kB / 304.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.02837, allocations: 81.75 kB / 304.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.0284, allocations: 15.98 kB / 304.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.02843, allocations: 39.19 kB / 304.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.02843, allocations: 0 / 304.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007488/0.02918, allocations: 465.7 kB / 305.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003123/0.02949, allocations: 81.11 kB / 305.1 MB, free: 9.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.02977, allocations: 426.7 kB / 305.6 MB, free: 9.039 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.02979, allocations: 33.7 kB / 305.6 MB, free: 9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.02997, allocations: 435.8 kB / 306 MB, free: 8.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.03005, allocations: 174.7 kB / 306.2 MB, free: 8.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.03017, allocations: 138.5 kB / 306.3 MB, free: 8.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.03027, allocations: 362.7 kB / 306.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.03035, allocations: 69.95 kB / 306.7 MB, free: 7.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.03063, allocations: 471.6 kB / 307.2 MB, free: 7.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.03115, allocations: 0.6762 MB / 307.9 MB, free: 6.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.03116, allocations: 4 kB / 307.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0004952/0.03165, allocations: 0.5048 MB / 308.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.03167, allocations: 15.94 kB / 308.4 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.03168, allocations: 12.88 kB / 308.4 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.0317, allocations: 20 kB / 308.4 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.03219, allocations: 233.2 kB / 308.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.03221, allocations: 31.86 kB / 308.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.03244, allocations: 32 kB / 308.7 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.03248, allocations: 32 kB / 308.8 MB, free: 5.441 MB / 298.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.0001334/0.03261, allocations: 176.3 kB / 308.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.03266, allocations: 43.91 kB / 309 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.03301, allocations: 300.1 kB / 309.3 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.03301, allocations: 4 kB / 309.3 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.03301, allocations: 0 / 309.3 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.03302, allocations: 3.984 kB / 309.3 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008326/0.03385, allocations: 0.8092 MB / 310.1 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.03386, allocations: 8.031 kB / 310.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.03414, allocations: 126 kB / 310.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.03419, allocations: 51.61 kB / 310.3 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/0.0342, allocations: 4 kB / 310.3 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.03422, allocations: 15.98 kB / 310.3 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.03423, allocations: 11.88 kB / 310.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.03423, allocations: 4 kB / 310.3 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.03455, allocations: 399.4 kB / 310.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.03459, allocations: 12 kB / 310.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.0347, allocations: 8 kB / 310.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.03475, allocations: 35.88 kB / 310.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.03476, allocations: 12 kB / 310.8 MB, free: 3.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.03487, allocations: 160.7 kB / 310.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03487, allocations: 0 / 310.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003917/0.03526, allocations: 168 kB / 311.1 MB, free: 2.992 MB / 298.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 9.097e-05/0.03535, allocations: 88.3 kB / 311.2 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.03568, allocations: 359 kB / 311.5 MB, free: 2.551 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/0.0357, allocations: 16.44 kB / 311.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.03586, allocations: 161.3 kB / 311.7 MB, free: 2.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009272/0.03679, allocations: 0.868 MB / 312.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009718/0.0465, allocations: 1.236 MB / 313.8 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.04666, allocations: 206.1 kB / 314 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000212/0.04687, allocations: 85.12 kB / 314.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.04709, allocations: 151.3 kB / 314.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.04709, allocations: 0 / 314.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of Templates: time 0.008392/0.05548, allocations: 5.543 MB / 319.8 MB, free: 10.17 MB / 314.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.702444558031857]