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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001083/0.001083, allocations: 106.3 kB / 17.74 MB, free: 5.359 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.001122/0.001122, allocations: 185.4 kB / 18.67 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1937/0.1937, allocations: 37.98 MB / 309.9 MB, free: 5.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08051/0.08199, allocations: 55.24 MB / 487.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006873/0.08889, allocations: 6.107 MB / 493.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.09197, allocations: 1.987 MB / 495.9 MB, free: 228 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.09233, allocations: 27.88 kB / 495.9 MB, free: 200 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.09411, allocations: 0.6813 MB / 496.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008087/0.09493, allocations: 386.1 kB / 496.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009238/0.09587, allocations: 399.1 kB / 497.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009851/0.09687, allocations: 0.9394 MB / 498.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006431/0.09753, allocations: 0.4962 MB / 498.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005966/0.09813, allocations: 438.3 kB / 499.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006918/0.09884, allocations: 0.5335 MB / 499.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.09896, allocations: 59.94 kB / 499.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.09941, allocations: 235.6 kB / 0.4883 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.09979, allocations: 407.1 kB / 0.4887 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004478/0.1002, allocations: 429.9 kB / 0.4891 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000961/0.1012, allocations: 1.008 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1012, allocations: 0 / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.1012, allocations: 4 kB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.1013, allocations: 3.938 kB / 0.4901 GB, free: 10.21 MB / 382.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.001737/0.103, allocations: 1.068 MB / 0.4911 GB, free: 9.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1031, allocations: 11.89 kB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006984/0.1038, allocations: 139.8 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009508/0.1047, allocations: 0.5517 MB / 0.4918 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.1e-05/0.1048, allocations: 58.38 kB / 0.4919 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.1049, allocations: 76.12 kB / 0.492 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.1064, allocations: 1.13 MB / 0.4931 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.1064, allocations: 7.938 kB / 0.4931 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/0.1065, allocations: 32 kB / 0.4931 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/0.1066, allocations: 57.91 kB / 0.4931 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.1079, allocations: 0.8662 MB / 0.494 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005104/0.113, allocations: 5.036 MB / 0.4989 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/0.1137, allocations: 420.9 kB / 0.4993 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.114, allocations: 209.7 kB / 0.4995 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.114, allocations: 15.97 kB / 0.4995 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1141, allocations: 38.5 kB / 0.4996 GB, free: 56 kB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.354e-06/0.1141, allocations: 4 kB / 0.4996 GB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001733/0.1158, allocations: 1.067 MB / 0.5006 GB, free: 14.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1159, allocations: 89.09 kB / 0.5007 GB, free: 14.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.1163, allocations: 497.9 kB / 0.5012 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1164, allocations: 37.7 kB / 0.5012 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.1166, allocations: 449.8 kB / 0.5016 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.1168, allocations: 161.7 kB / 0.5018 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.117, allocations: 150.5 kB / 0.5019 GB, free: 13.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1171, allocations: 370.7 kB / 0.5023 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.1175, allocations: 237.8 kB / 0.5025 GB, free: 12.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/0.1181, allocations: 0.6209 MB / 0.5031 GB, free: 12.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.1192, allocations: 0.9455 MB / 0.504 GB, free: 11.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.1192, allocations: 11.88 kB / 0.5041 GB, free: 11.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001341/0.1206, allocations: 0.8875 MB / 0.5049 GB, free: 10.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1206, allocations: 8.969 kB / 0.5049 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.1206, allocations: 19.98 kB / 0.5049 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.1207, allocations: 20 kB / 0.505 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/0.1214, allocations: 215.6 kB / 0.5052 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.878e-05/0.1214, allocations: 23.92 kB / 0.5052 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.1219, allocations: 51.95 kB / 0.5052 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.1219, allocations: 44 kB / 0.5053 GB, free: 9.746 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.0003462/0.1223, allocations: 309.3 kB / 0.5056 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.1224, allocations: 55.25 kB / 0.5056 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009154/0.1233, allocations: 0.5564 MB / 0.5062 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.1233, allocations: 11.98 kB / 0.5062 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1233, allocations: 0 / 0.5062 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1235, allocations: 116.5 kB / 0.5063 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.1236, allocations: 15.98 kB / 0.5063 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.1238, allocations: 23.97 kB / 0.5063 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.1239, allocations: 40.27 kB / 0.5064 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001003/0.1249, allocations: 0.6981 MB / 0.5071 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007741/0.1257, allocations: 0.7482 MB / 0.5078 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002934/0.126, allocations: 219.4 kB / 0.508 GB, free: 6.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003264/0.1263, allocations: 334.8 kB / 0.5083 GB, free: 6.586 MB / 398.1 MB Notification: Performance of Backend: time 3.2e-07/0.1263, allocations: 4.031 kB / 0.5083 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.1276, allocations: 0.595 MB / 0.5089 GB, free: 5.984 MB / 398.1 MB Notification: Performance of SimCode: time 0.002136/0.1298, allocations: 1.668 MB / 0.5105 GB, free: 4.266 MB / 398.1 MB Notification: Performance of Templates: time 0.01311/0.1429, allocations: 7.324 MB / 0.5177 GB, free: 12.93 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)