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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 106.4 kB / 17.74 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 183.1 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2006/0.2006, allocations: 38.03 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 458.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3071, allocations: 58.06 MB / 0.5047 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.00632/0.3135, allocations: 6.1 MB / 0.5107 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.3166, allocations: 1.946 MB / 0.5126 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003732/0.317, allocations: 22.94 kB / 0.5126 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.3187, allocations: 0.6877 MB / 0.5133 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008935/0.3196, allocations: 383.1 kB / 0.5137 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3206, allocations: 400.1 kB / 0.514 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.3217, allocations: 0.9395 MB / 0.515 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006222/0.3223, allocations: 0.5067 MB / 0.5155 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/0.3229, allocations: 432 kB / 0.5159 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/0.3236, allocations: 0.5288 MB / 0.5164 GB, free: 340 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.312e-05/0.3237, allocations: 57.75 kB / 0.5164 GB, free: 340 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.3242, allocations: 233.3 kB / 0.5167 GB, free: 280 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004503/0.3247, allocations: 420.8 kB / 0.5171 GB, free: 144 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.3251, allocations: 424.4 kB / 0.5175 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.3266, allocations: 1.024 MB / 0.5185 GB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3266, allocations: 0.5625 kB / 0.5185 GB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3267, allocations: 1.406 kB / 0.5185 GB, free: 15.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.3267, allocations: 0 / 0.5185 GB, free: 15.51 MB / 398.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.001816/0.3285, allocations: 1.085 MB / 0.5195 GB, free: 14.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3285, allocations: 12.95 kB / 0.5195 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007012/0.3293, allocations: 139.1 kB / 0.5197 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/0.3302, allocations: 0.556 MB / 0.5202 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.3302, allocations: 56.41 kB / 0.5203 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.3303, allocations: 81.83 kB / 0.5203 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.3319, allocations: 1.131 MB / 0.5215 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.332, allocations: 7.531 kB / 0.5215 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.3321, allocations: 37.58 kB / 0.5215 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.961e-05/0.3321, allocations: 51.19 kB / 0.5215 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.3335, allocations: 0.8678 MB / 0.5224 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005461/0.339, allocations: 5.048 MB / 0.5273 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.3397, allocations: 422.1 kB / 0.5277 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.34, allocations: 209.8 kB / 0.5279 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.3401, allocations: 12.66 kB / 0.5279 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.3401, allocations: 45.48 kB / 0.528 GB, free: 9.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.3401, allocations: 3.938 kB / 0.528 GB, free: 9.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.001942/0.3421, allocations: 1.081 MB / 0.529 GB, free: 8.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.3421, allocations: 82.84 kB / 0.5291 GB, free: 8.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.3427, allocations: 0.4963 MB / 0.5296 GB, free: 8.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.3427, allocations: 30.98 kB / 0.5296 GB, free: 8.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.3431, allocations: 473.4 kB / 0.5301 GB, free: 7.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.3432, allocations: 163 kB / 0.5302 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.3434, allocations: 151.4 kB / 0.5304 GB, free: 7.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3436, allocations: 367.6 kB / 0.5307 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.3439, allocations: 236.8 kB / 0.531 GB, free: 7.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.3445, allocations: 0.6211 MB / 0.5316 GB, free: 6.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.3456, allocations: 0.935 MB / 0.5325 GB, free: 5.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.3456, allocations: 13.22 kB / 0.5325 GB, free: 5.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001317/0.3469, allocations: 0.8949 MB / 0.5334 GB, free: 5.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.3469, allocations: 11.62 kB / 0.5334 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.347, allocations: 17.34 kB / 0.5334 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.347, allocations: 17.47 kB / 0.5334 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.3477, allocations: 221.7 kB / 0.5336 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-05/0.3478, allocations: 29.5 kB / 0.5337 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.3482, allocations: 53.56 kB / 0.5337 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.3483, allocations: 40.81 kB / 0.5337 GB, free: 5.559 MB / 398.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.0004015/0.3487, allocations: 310.9 kB / 0.534 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.3488, allocations: 56.78 kB / 0.5341 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009191/0.3497, allocations: 0.5551 MB / 0.5346 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3497, allocations: 5.312 kB / 0.5346 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3498, allocations: 0 / 0.5346 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3499, allocations: 132.5 kB / 0.5348 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/0.35, allocations: 6.688 kB / 0.5348 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.3502, allocations: 37.02 kB / 0.5348 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.3503, allocations: 29.66 kB / 0.5348 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001108/0.3514, allocations: 0.6937 MB / 0.5355 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009505/0.3524, allocations: 0.7574 MB / 0.5363 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003192/0.3527, allocations: 219.6 kB / 0.5365 GB, free: 3.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000427/0.3531, allocations: 328.2 kB / 0.5368 GB, free: 3.594 MB / 398.1 MB Notification: Performance of Backend: time 6.91e-07/0.3531, allocations: 1.281 kB / 0.5368 GB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.3545, allocations: 0.5945 MB / 0.5374 GB, free: 3.293 MB / 398.1 MB Notification: Performance of SimCode: time 0.002181/0.3567, allocations: 1.691 MB / 0.539 GB, free: 2.09 MB / 398.1 MB Notification: Performance of Templates: time 0.01332/0.3701, allocations: 7.337 MB / 0.5462 GB, free: 13.22 MB / 414.1 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)