Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001471, allocations: 111.9 kB / 17.74 MB, free: 5.336 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.00177/0.00177, allocations: 181.5 kB / 18.66 MB, free: 4.422 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.448/1.448, 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.1781/0.1781, 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.001464/0.001464, allocations: 71.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0866/0.08807, allocations: 55.25 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006078/0.09419, allocations: 4.55 MB / 492.3 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.09675, allocations: 1.602 MB / 493.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.09706, allocations: 15.88 kB / 493.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009044/0.09797, allocations: 291.1 kB / 494.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.09863, allocations: 274.7 kB / 494.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.09932, allocations: 255.4 kB / 494.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007009/0.1, allocations: 0.6078 MB / 495.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.1005, allocations: 252.2 kB / 495.6 MB, free: 492 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.1009, allocations: 271 kB / 495.9 MB, free: 220 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.1014, allocations: 326.8 kB / 496.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.361e-05/0.1015, allocations: 36 kB / 496.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.1018, allocations: 139.8 kB / 496.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.1021, allocations: 231.4 kB / 496.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.1024, allocations: 238.8 kB / 496.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00067/0.103, allocations: 0.5995 MB / 497.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1031, allocations: 0 / 497.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1031, allocations: 4 kB / 497.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.1031, allocations: 0 / 497.4 MB, free: 14.66 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001402/0.1045, allocations: 0.7621 MB / 498.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1045, allocations: 11.89 kB / 498.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006354/0.1052, allocations: 96.2 kB / 498.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006568/0.1058, allocations: 420 kB / 498.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1059, allocations: 33.38 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.106, allocations: 64.02 kB / 498.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008779/0.1069, allocations: 0.6599 MB / 499.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.1069, allocations: 4 kB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.107, allocations: 16 kB / 499.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.1072, allocations: 48.97 kB / 499.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007311/0.1079, allocations: 0.4916 MB / 0.4883 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/0.1112, allocations: 3.144 MB / 0.4914 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.1117, allocations: 245.3 kB / 0.4916 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.1119, allocations: 125.7 kB / 0.4917 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.1119, allocations: 7.938 kB / 0.4917 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1119, allocations: 30.56 kB / 0.4918 GB, free: 8.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.873e-06/0.1119, allocations: 0 / 0.4918 GB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001414/0.1134, allocations: 0.8897 MB / 0.4926 GB, free: 7.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.1134, allocations: 85.09 kB / 0.4927 GB, free: 7.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.1138, allocations: 332.4 kB / 0.493 GB, free: 6.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1138, allocations: 29.7 kB / 0.4931 GB, free: 6.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.114, allocations: 299 kB / 0.4933 GB, free: 6.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.1141, allocations: 82.81 kB / 0.4934 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1142, allocations: 90.02 kB / 0.4935 GB, free: 6.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1143, allocations: 354.7 kB / 0.4938 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.1145, allocations: 132.8 kB / 0.494 GB, free: 5.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.1149, allocations: 325.1 kB / 0.4943 GB, free: 5.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.1154, allocations: 0.4887 MB / 0.4948 GB, free: 4.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1154, allocations: 4 kB / 0.4948 GB, free: 4.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001043/0.1165, allocations: 0.588 MB / 0.4953 GB, free: 4.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1165, allocations: 11.98 kB / 0.4953 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005959/0.1171, allocations: 330.3 kB / 0.4957 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.1176, allocations: 125.6 kB / 0.4958 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.1179, allocations: 83.83 kB / 0.4959 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/0.1207, allocations: 3.285 MB / 0.4991 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.1209, allocations: 15.98 kB / 0.4991 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.121, allocations: 24 kB / 0.4991 GB, free: 36 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.1212, allocations: 213.7 kB / 0.4993 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.1213, allocations: 35.61 kB / 0.4993 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/0.1218, allocations: 316.6 kB / 0.4996 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1218, allocations: 4 kB / 0.4996 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1218, allocations: 3.938 kB / 0.4997 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1219, allocations: 3.984 kB / 0.4997 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.123, allocations: 0.8047 MB / 0.5004 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.123, allocations: 0 / 0.5004 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.1233, allocations: 55.91 kB / 0.5005 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1233, allocations: 7.938 kB / 0.5005 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.1233, allocations: 8 kB / 0.5005 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1233, allocations: 3.984 kB / 0.5005 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1233, allocations: 4 kB / 0.5005 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.1239, allocations: 0.5056 MB / 0.501 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.1241, allocations: 132.5 kB / 0.5011 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.1241, allocations: 8 kB / 0.5011 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1243, allocations: 11.94 kB / 0.5012 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.1244, allocations: 19.97 kB / 0.5012 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1244, allocations: 12 kB / 0.5012 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.1246, allocations: 223 kB / 0.5014 GB, free: 13.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.403e-06/0.1246, allocations: 0 / 0.5014 GB, free: 13.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004526/0.1251, allocations: 99.94 kB / 0.5015 GB, free: 13.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001149/0.1252, allocations: 103.2 kB / 0.5016 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008499/0.126, allocations: 0.5877 MB / 0.5022 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1261, allocations: 0 / 0.5022 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.1262, allocations: 125 kB / 0.5023 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.1268, allocations: 81.41 kB / 0.5024 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.1282, allocations: 1.033 MB / 0.5034 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.1286, allocations: 0.8735 MB / 0.5042 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.53e-05/0.1287, allocations: 35.42 kB / 0.5043 GB, free: 10.52 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1287, allocations: 0 / 0.5043 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Templates: time 0.008572/0.1373, allocations: 6.606 MB / 0.5107 GB, free: 3.902 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)