Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 116.6 kB / 17.75 MB, free: 5.223 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.001754/0.001754, allocations: 181.4 kB / 18.67 MB, free: 4.309 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.337/1.337, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1733/0.1733, allocations: 37.98 MB / 309.9 MB, free: 5.961 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.001403/0.001403, allocations: 67.89 kB / 432.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08492, allocations: 55.24 MB / 487.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005162/0.09012, allocations: 4.347 MB / 492.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.09157, allocations: 0.9827 MB / 493.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.09172, allocations: 11.94 kB / 493.1 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.09193, allocations: 55.48 kB / 493.2 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.09246, allocations: 234.8 kB / 493.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.0927, allocations: 103.8 kB / 493.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.09319, allocations: 0.4944 MB / 494 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.09345, allocations: 163.6 kB / 494.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.09372, allocations: 223.1 kB / 494.4 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.09413, allocations: 267.1 kB / 494.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.09419, allocations: 28 kB / 494.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.291e-05/0.09426, allocations: 24 kB / 494.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.09441, allocations: 143.6 kB / 494.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.09459, allocations: 179 kB / 495 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.09495, allocations: 370.6 kB / 495.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.09497, allocations: 0 / 495.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09497, allocations: 0 / 495.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.09498, allocations: 0 / 495.4 MB, free: 0.7344 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00106/0.09605, allocations: 0.6555 MB / 496 MB, free: 28 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.09609, allocations: 11.89 kB / 496 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.404e-05/0.09618, allocations: 44.52 kB / 496.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.09675, allocations: 383.6 kB / 496.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.09678, allocations: 16.69 kB / 496.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.09684, allocations: 28 kB / 496.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.09732, allocations: 356.7 kB / 496.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.09734, allocations: 0 / 496.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.09737, allocations: 12 kB / 496.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.657e-05/0.09747, allocations: 24.53 kB / 496.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.09785, allocations: 238 kB / 497.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.09939, allocations: 1.366 MB / 498.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.09976, allocations: 169 kB / 498.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.09995, allocations: 101.7 kB / 498.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.09998, allocations: 3.938 kB / 498.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1, allocations: 38.56 kB / 498.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1, allocations: 0 / 498.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001285/0.1013, allocations: 0.7572 MB / 499.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1014, allocations: 89.23 kB / 499.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.1016, allocations: 296.4 kB / 499.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1017, allocations: 29.7 kB / 500 MB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1018, allocations: 215.6 kB / 0.4884 GB, free: 11.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.1019, allocations: 55.2 kB / 0.4885 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.1019, allocations: 53.59 kB / 0.4885 GB, free: 11.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.102, allocations: 338.8 kB / 0.4889 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.1022, allocations: 63.95 kB / 0.4889 GB, free: 11.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.1023, allocations: 168.8 kB / 0.4891 GB, free: 10.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.1026, allocations: 252.6 kB / 0.4893 GB, free: 10.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1026, allocations: 4 kB / 0.4893 GB, free: 10.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005322/0.1032, allocations: 317.7 kB / 0.4896 GB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1032, allocations: 8 kB / 0.4896 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1032, allocations: 0 / 0.4896 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.1034, allocations: 60.75 kB / 0.4897 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.1036, allocations: 43.92 kB / 0.4897 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.1048, allocations: 1.617 MB / 0.4913 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.105, allocations: 8 kB / 0.4913 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.105, allocations: 19.98 kB / 0.4914 GB, free: 8.348 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.1052, allocations: 169.7 kB / 0.4915 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.1052, allocations: 27.62 kB / 0.4915 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.1057, allocations: 240.2 kB / 0.4918 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.1057, allocations: 8.047 kB / 0.4918 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1057, allocations: 0 / 0.4918 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.1058, allocations: 100.7 kB / 0.4919 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.1058, allocations: 8 kB / 0.4919 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1059, allocations: 11.98 kB / 0.4919 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.106, allocations: 7.984 kB / 0.4919 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004798/0.1065, allocations: 389.1 kB / 0.4923 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004412/0.1069, allocations: 0.517 MB / 0.4928 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001112/0.107, allocations: 83.95 kB / 0.4929 GB, free: 6.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1072, allocations: 207.1 kB / 0.4931 GB, free: 6.543 MB / 382.1 MB Notification: Performance of Backend: time 5.11e-07/0.1072, allocations: 4.031 kB / 0.4931 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007856/0.108, allocations: 328.8 kB / 0.4934 GB, free: 6.195 MB / 382.1 MB Notification: Performance of SimCode: time 0.00137/0.1094, allocations: 1.168 MB / 0.4945 GB, free: 4.977 MB / 382.1 MB Notification: Performance of Templates: time 0.006283/0.1157, allocations: 3.109 MB / 0.4975 GB, free: 1.863 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)