Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001479, allocations: 114.3 kB / 17.75 MB, free: 5.309 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.001623/0.001623, allocations: 189.3 kB / 18.67 MB, free: 4.395 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.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1774/0.1774, allocations: 37.98 MB / 309.9 MB, free: 5.945 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.001447/0.001447, allocations: 67.89 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09933, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.005975/0.1053, allocations: 4.425 MB / 492.2 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.1078, allocations: 1.477 MB / 493.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.108, allocations: 11.94 kB / 493.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.109, allocations: 370.5 kB / 494 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.1095, allocations: 214.9 kB / 494.3 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.1101, allocations: 251.4 kB / 494.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005208/0.1106, allocations: 0.5339 MB / 495 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.111, allocations: 281 kB / 495.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.1113, allocations: 251 kB / 495.6 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.1117, allocations: 291.1 kB / 495.8 MB, free: 240 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.1118, allocations: 36 kB / 495.9 MB, free: 204 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.1121, allocations: 143.7 kB / 496 MB, free: 60 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.1123, allocations: 223.4 kB / 496.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.1125, allocations: 234.9 kB / 496.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.1131, allocations: 0.5607 MB / 497 MB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1131, allocations: 0 / 497 MB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1131, allocations: 4 kB / 497 MB, free: 15.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1131, allocations: 0 / 497 MB, free: 15.04 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0012/0.1144, allocations: 0.7388 MB / 497.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1144, allocations: 11.89 kB / 497.8 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005284/0.1149, allocations: 80.33 kB / 497.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.1156, allocations: 403.3 kB / 498.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.1157, allocations: 37.36 kB / 498.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.1158, allocations: 48.06 kB / 498.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008437/0.1166, allocations: 0.6248 MB / 499 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1167, allocations: 4 kB / 499 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.1167, allocations: 19.94 kB / 499 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.1169, allocations: 32.98 kB / 499 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.1176, allocations: 483.4 kB / 499.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.1207, allocations: 2.891 MB / 0.4906 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.1211, allocations: 229 kB / 0.4908 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.1213, allocations: 149.7 kB / 0.491 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.1214, allocations: 7.984 kB / 0.491 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.1214, allocations: 38.56 kB / 0.491 GB, free: 8.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.794e-06/0.1214, allocations: 0 / 0.491 GB, free: 8.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001527/0.1229, allocations: 0.958 MB / 0.4919 GB, free: 7.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.123, allocations: 89.17 kB / 0.492 GB, free: 7.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.1233, allocations: 328.3 kB / 0.4923 GB, free: 7.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1234, allocations: 29.7 kB / 0.4924 GB, free: 7.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.1236, allocations: 275.3 kB / 0.4926 GB, free: 7.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/0.1237, allocations: 94.66 kB / 0.4927 GB, free: 7.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.1238, allocations: 94.16 kB / 0.4928 GB, free: 6.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.124, allocations: 350.7 kB / 0.4931 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.1242, allocations: 145 kB / 0.4933 GB, free: 6.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.1247, allocations: 343.2 kB / 0.4936 GB, free: 6.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/0.1253, allocations: 0.5167 MB / 0.4941 GB, free: 5.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1253, allocations: 4 kB / 0.4941 GB, free: 5.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007767/0.1261, allocations: 0.5359 MB / 0.4946 GB, free: 4.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1261, allocations: 8 kB / 0.4946 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1262, allocations: 8 kB / 0.4947 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.1262, allocations: 8.781 kB / 0.4947 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.1267, allocations: 127.8 kB / 0.4948 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.1267, allocations: 11.94 kB / 0.4948 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.1269, allocations: 19.98 kB / 0.4948 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.127, allocations: 27.98 kB / 0.4948 GB, free: 4.703 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * 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.0002126/0.1272, allocations: 221.4 kB / 0.4951 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.1273, allocations: 31.62 kB / 0.4951 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005912/0.1279, allocations: 357.6 kB / 0.4954 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1279, allocations: 3.984 kB / 0.4954 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1279, allocations: 4 kB / 0.4954 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.128, allocations: 112.6 kB / 0.4955 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.128, allocations: 4 kB / 0.4955 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.1282, allocations: 23.91 kB / 0.4956 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1283, allocations: 11.98 kB / 0.4956 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007868/0.129, allocations: 0.5236 MB / 0.4961 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007873/0.1298, allocations: 0.7443 MB / 0.4968 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001843/0.13, allocations: 140 kB / 0.497 GB, free: 2.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.1302, allocations: 226.9 kB / 0.4972 GB, free: 2.262 MB / 382.1 MB Notification: Performance of Backend: time 5.41e-07/0.1302, allocations: 0 / 0.4972 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009025/0.1312, allocations: 391.5 kB / 0.4975 GB, free: 1.875 MB / 382.1 MB Notification: Performance of SimCode: time 0.001618/0.1328, allocations: 1.361 MB / 0.4989 GB, free: 480 kB / 382.1 MB Notification: Performance of Templates: time 0.009204/0.142, allocations: 4.708 MB / 0.5035 GB, free: 11.75 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)