Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001161/0.001161, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.363/1.363, allocations: 205.1 MB / 224.6 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.1884/0.1884, allocations: 37.98 MB / 309.9 MB, free: 5.965 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.001393/0.001393, allocations: 71.89 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.09016, allocations: 55.24 MB / 487.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008415/0.09861, allocations: 6.636 MB / 494.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.1024, allocations: 2.061 MB / 496.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005277/0.103, allocations: 27.88 kB / 496.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.1049, allocations: 0.7202 MB / 497.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.1062, allocations: 0.5794 MB / 497.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.1068, allocations: 243.5 kB / 498 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.1078, allocations: 1.141 MB / 499.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007375/0.1086, allocations: 0.5991 MB / 499.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005708/0.1091, allocations: 0.5174 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007551/0.1099, allocations: 0.6151 MB / 0.4892 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.11, allocations: 68 kB / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004686/0.1105, allocations: 263.7 kB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004088/0.1109, allocations: 486.8 kB / 0.4899 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.1114, allocations: 0.4898 MB / 0.4904 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1125, allocations: 1.18 MB / 0.4916 GB, free: 8.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1125, allocations: 4 kB / 0.4916 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1125, allocations: 0 / 0.4916 GB, free: 8.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1125, allocations: 0 / 0.4916 GB, free: 8.688 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001938/0.1145, allocations: 1.211 MB / 0.4928 GB, free: 7.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1145, allocations: 11.89 kB / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009533/0.1155, allocations: 163.5 kB / 0.4929 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.1166, allocations: 0.6241 MB / 0.4935 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/0.1167, allocations: 66.36 kB / 0.4936 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.1169, allocations: 100 kB / 0.4937 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.1186, allocations: 1.161 MB / 0.4948 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.1186, allocations: 4 kB / 0.4948 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.1187, allocations: 32 kB / 0.4949 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.1189, allocations: 89.89 kB / 0.495 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.1205, allocations: 0.9952 MB / 0.4959 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005068/0.1256, allocations: 4.346 MB / 0.5002 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.1267, allocations: 0.6217 MB / 0.5008 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/0.1272, allocations: 315.3 kB / 0.5011 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.1272, allocations: 8.562 kB / 0.5011 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.1273, allocations: 35.12 kB / 0.5011 GB, free: 14.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.585e-06/0.1273, allocations: 4 kB / 0.5011 GB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.002804/0.1301, allocations: 1.734 MB / 0.5028 GB, free: 12.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.1301, allocations: 89.73 kB / 0.5029 GB, free: 12.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.1307, allocations: 0.5455 MB / 0.5034 GB, free: 12.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.246e-05/0.1308, allocations: 37.7 kB / 0.5035 GB, free: 12.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.131, allocations: 442.7 kB / 0.5039 GB, free: 11.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.1312, allocations: 220.9 kB / 0.5041 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.1314, allocations: 186.5 kB / 0.5043 GB, free: 11.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1316, allocations: 374.8 kB / 0.5046 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.132, allocations: 289.8 kB / 0.5049 GB, free: 10.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.1327, allocations: 0.6115 MB / 0.5055 GB, free: 9.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.1339, allocations: 0.973 MB / 0.5065 GB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1339, allocations: 3.938 kB / 0.5065 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002131/0.136, allocations: 1.168 MB / 0.5076 GB, free: 7.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.1361, allocations: 16.03 kB / 0.5076 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001363/0.1375, allocations: 0.7122 MB / 0.5083 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007367/0.1382, allocations: 226.4 kB / 0.5085 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.139, allocations: 223.6 kB / 0.5087 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004844/0.1438, allocations: 5.365 MB / 0.514 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.1443, allocations: 36.05 kB / 0.514 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.1444, allocations: 40 kB / 0.5141 GB, free: 388 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004661/0.1449, allocations: 353.7 kB / 0.5144 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.145, allocations: 75.2 kB / 0.5145 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1461, allocations: 0.646 MB / 0.5151 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.1461, allocations: 3.984 kB / 0.5151 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1461, allocations: 4 kB / 0.5151 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.1464, allocations: 184.2 kB / 0.5153 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/0.1465, allocations: 12 kB / 0.5153 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.1468, allocations: 19.92 kB / 0.5153 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1469, allocations: 48.44 kB / 0.5154 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001749/0.1486, allocations: 0.9118 MB / 0.5163 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00149/0.1501, allocations: 1.193 MB / 0.5174 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004169/0.1506, allocations: 296.3 kB / 0.5177 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000386/0.151, allocations: 362.9 kB / 0.518 GB, free: 12.24 MB / 414.1 MB Notification: Performance of Backend: time 5.01e-07/0.151, allocations: 0 / 0.518 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.153, allocations: 1.024 MB / 0.519 GB, free: 11.18 MB / 414.1 MB Notification: Performance of SimCode: time 0.002804/0.1559, allocations: 2.209 MB / 0.5212 GB, free: 8.906 MB / 414.1 MB Notification: Performance of Templates: time 0.2095/0.3654, allocations: 10.02 MB / 0.531 GB, free: 51.95 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)