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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001328/0.001328, allocations: 191.9 kB / 17.27 MB, free: 4.492 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.245/1.245, allocations: 194.2 MB / 212.2 MB, free: 2.383 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002047/0.002047, allocations: 126 kB / 256.6 MB, free: 4.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1807/0.1807, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.91 kB / 401.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07566/0.07683, allocations: 52.19 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005491/0.08236, allocations: 7.349 MB / 461.3 MB, free: 9.191 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.08506, allocations: 2.389 MB / 463.7 MB, free: 6.793 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.08536, allocations: 47.69 kB / 463.8 MB, free: 6.746 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.08657, allocations: 0.6539 MB / 464.4 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005121/0.08709, allocations: 358.5 kB / 464.8 MB, free: 5.738 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.08781, allocations: 359.3 kB / 465.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000894/0.08871, allocations: 1.501 MB / 466.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.08924, allocations: 498.8 kB / 467.1 MB, free: 3.395 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.08956, allocations: 374.3 kB / 467.5 MB, free: 3.027 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.09006, allocations: 0.5686 MB / 468 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.09013, allocations: 40 kB / 468.1 MB, free: 2.418 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.09047, allocations: 247.6 kB / 468.3 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.09071, allocations: 407 kB / 468.7 MB, free: 1.777 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.09099, allocations: 401.9 kB / 469.1 MB, free: 1.383 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006057/0.0916, allocations: 0.989 MB / 470.1 MB, free: 400 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.09161, allocations: 4 kB / 470.1 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.09162, allocations: 0 / 470.1 MB, free: 396 kB / 314.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.09163, allocations: 0 / 470.1 MB, free: 396 kB / 314.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.001494/0.09313, allocations: 1.06 MB / 471.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.09318, allocations: 16.02 kB / 471.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007782/0.09396, allocations: 131.8 kB / 471.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/0.09479, allocations: 0.5206 MB / 471.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.09483, allocations: 58.31 kB / 471.9 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.09495, allocations: 83.84 kB / 472 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.09633, allocations: 1.126 MB / 473.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.09637, allocations: 7.938 kB / 473.1 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.09644, allocations: 32 kB / 473.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.798e-05/0.09651, allocations: 53.97 kB / 473.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.09772, allocations: 0.8701 MB / 474.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/0.1025, allocations: 5.055 MB / 479.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.1031, allocations: 416.9 kB / 479.5 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.1034, allocations: 214.4 kB / 479.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.1034, allocations: 11.77 kB / 479.7 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1035, allocations: 42.5 kB / 479.8 MB, free: 6.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.834e-06/0.1035, allocations: 4 kB / 479.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001613/0.1051, allocations: 1.057 MB / 480.8 MB, free: 5.172 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.1052, allocations: 85.11 kB / 480.9 MB, free: 5.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.1056, allocations: 0.4938 MB / 481.4 MB, free: 4.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.1057, allocations: 33.7 kB / 481.5 MB, free: 4.527 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.1059, allocations: 457.6 kB / 481.9 MB, free: 4.074 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.106, allocations: 157.8 kB / 482.1 MB, free: 3.918 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.1062, allocations: 154.5 kB / 482.2 MB, free: 3.762 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1064, allocations: 374.7 kB / 482.6 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.1067, allocations: 237.9 kB / 482.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.1073, allocations: 0.6209 MB / 483.4 MB, free: 2.348 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.1083, allocations: 0.9341 MB / 484.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1083, allocations: 4 kB / 484.4 MB, free: 1.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001175/0.1095, allocations: 0.8956 MB / 485.3 MB, free: 332 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1095, allocations: 8 kB / 485.3 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.1095, allocations: 16 kB / 485.3 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.1096, allocations: 20 kB / 485.3 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.1102, allocations: 223.6 kB / 485.5 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.1102, allocations: 27.92 kB / 485.5 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.1106, allocations: 60.23 kB / 485.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.1107, allocations: 40 kB / 485.6 MB, free: 15.93 MB / 346.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.0003057/0.111, allocations: 309.3 kB / 485.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.1111, allocations: 55.34 kB / 486 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008658/0.112, allocations: 0.5524 MB / 486.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.112, allocations: 12 kB / 486.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.112, allocations: 0 / 486.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.112, allocations: 0 / 486.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.1139, allocations: 1.344 MB / 487.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1139, allocations: 0 / 487.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.1143, allocations: 107.8 kB / 488 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.1143, allocations: 11.94 kB / 488 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.1143, allocations: 15.94 kB / 488 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.1144, allocations: 7.984 kB / 488.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1144, allocations: 4.25 kB / 488.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.1156, allocations: 1.499 MB / 489.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1158, allocations: 132.4 kB / 489.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.1158, allocations: 8 kB / 489.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.1161, allocations: 19.98 kB / 489.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.1161, allocations: 43.67 kB / 489.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.1162, allocations: 16 kB / 489.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003088/0.1165, allocations: 334.8 kB / 490.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1165, allocations: 0 / 490.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006553/0.1171, allocations: 160 kB / 490.3 MB, free: 11.12 MB / 346.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.0001146/0.1173, allocations: 107.2 kB / 490.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007969/0.1181, allocations: 0.5955 MB / 491 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1181, allocations: 64 / 491 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.1184, allocations: 243.6 kB / 491.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.119, allocations: 105.8 kB / 491.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.1212, allocations: 1.976 MB / 493.3 MB, free: 8.031 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.1218, allocations: 1.012 MB / 494.3 MB, free: 6.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005295/0.1223, allocations: 233 kB / 494.5 MB, free: 6.762 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1224, allocations: 55.36 kB / 494.6 MB, free: 6.707 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1224, allocations: 0 / 494.6 MB, free: 6.707 MB / 346.7 MB Notification: Performance of Templates: time 0.009379/0.1318, allocations: 5.534 MB / 0.4884 GB, free: 1.176 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile (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)