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.00128/0.00128, allocations: 110.8 kB / 17.06 MB, free: 5.977 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.001268/0.001268, allocations: 200 kB / 18.01 MB, free: 5.059 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.29/1.29, allocations: 205.1 MB / 223.9 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.1689/0.1689, allocations: 37.98 MB / 309.2 MB, free: 5.949 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.00131/0.00131, allocations: 64.47 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08771/0.08903, allocations: 55.24 MB / 487.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005756/0.09482, allocations: 4.55 MB / 491.7 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.09725, allocations: 1.605 MB / 493.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.09745, allocations: 11.94 kB / 493.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007939/0.09825, allocations: 290.6 kB / 493.6 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.09877, allocations: 266.7 kB / 493.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.09935, allocations: 251.4 kB / 494.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.09991, allocations: 0.6118 MB / 494.7 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.1003, allocations: 256.2 kB / 494.9 MB, free: 484 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.1006, allocations: 275 kB / 495.2 MB, free: 208 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/0.101, allocations: 326.9 kB / 495.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.1011, allocations: 32 kB / 495.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.1014, allocations: 143.8 kB / 495.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.1016, allocations: 219.4 kB / 495.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.1018, allocations: 246.8 kB / 496.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.1024, allocations: 0.6035 MB / 496.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1024, allocations: 0 / 496.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1024, allocations: 0 / 496.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1024, allocations: 0 / 496.8 MB, free: 14.65 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.001179/0.1036, allocations: 0.7582 MB / 497.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1037, allocations: 15.89 kB / 497.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005583/0.1042, allocations: 96.22 kB / 497.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005917/0.1048, allocations: 420 kB / 498 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.1049, allocations: 33.36 kB / 498.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.105, allocations: 52.05 kB / 498.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008412/0.1059, allocations: 0.6677 MB / 498.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1059, allocations: 3.938 kB / 498.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.1059, allocations: 20 kB / 498.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.1061, allocations: 48.97 kB / 498.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.1068, allocations: 495.5 kB / 499.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/0.1098, allocations: 3.148 MB / 0.4907 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.1103, allocations: 249.3 kB / 0.4909 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.1104, allocations: 117.7 kB / 0.4911 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1105, allocations: 7.922 kB / 0.4911 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1105, allocations: 42.5 kB / 0.4911 GB, free: 8.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.1105, allocations: 0 / 0.4911 GB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001346/0.1119, allocations: 0.882 MB / 0.492 GB, free: 7.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1119, allocations: 84.97 kB / 0.492 GB, free: 7.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.1122, allocations: 332.4 kB / 0.4924 GB, free: 6.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1123, allocations: 29.7 kB / 0.4924 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.1125, allocations: 295 kB / 0.4927 GB, free: 6.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.1125, allocations: 86.81 kB / 0.4928 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.1127, allocations: 90.02 kB / 0.4928 GB, free: 6.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1128, allocations: 358.6 kB / 0.4932 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.113, allocations: 132.8 kB / 0.4933 GB, free: 5.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.1133, allocations: 317.2 kB / 0.4936 GB, free: 5.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.1139, allocations: 0.4964 MB / 0.4941 GB, free: 4.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1139, allocations: 0 / 0.4941 GB, free: 4.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001071/0.115, allocations: 0.5918 MB / 0.4947 GB, free: 4.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.115, allocations: 8.719 kB / 0.4947 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006231/0.1156, allocations: 341.8 kB / 0.495 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/0.1161, allocations: 109.6 kB / 0.4951 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.1163, allocations: 91.83 kB / 0.4952 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/0.119, allocations: 3.274 MB / 0.4984 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.1193, allocations: 27.92 kB / 0.4984 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.1193, allocations: 20 kB / 0.4984 GB, free: 32 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.0002638/0.1196, allocations: 213.7 kB / 0.4986 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.1197, allocations: 31.62 kB / 0.4987 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.1202, allocations: 312.6 kB / 0.499 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1202, allocations: 4 kB / 0.499 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1202, allocations: 7.922 kB / 0.499 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1202, allocations: 4 kB / 0.499 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.1213, allocations: 0.8008 MB / 0.4998 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1213, allocations: 4 kB / 0.4998 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.1216, allocations: 63.91 kB / 0.4998 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1216, allocations: 11.92 kB / 0.4999 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.1216, allocations: 4 kB / 0.4999 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1216, allocations: 4 kB / 0.4999 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1216, allocations: 64 / 0.4999 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.1223, allocations: 0.5054 MB / 0.5004 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1224, allocations: 136.8 kB / 0.5005 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.1224, allocations: 8 kB / 0.5005 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.1226, allocations: 11.92 kB / 0.5005 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.1226, allocations: 23.97 kB / 0.5005 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1227, allocations: 4 kB / 0.5005 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.1229, allocations: 227 kB / 0.5007 GB, free: 13.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.1229, allocations: 0 / 0.5007 GB, free: 13.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.1233, allocations: 99.94 kB / 0.5008 GB, free: 13.45 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.0001209/0.1235, allocations: 103.2 kB / 0.5009 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008434/0.1243, allocations: 0.5886 MB / 0.5015 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1243, allocations: 0 / 0.5015 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.1245, allocations: 132.1 kB / 0.5016 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.1253, allocations: 77.7 kB / 0.5017 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1268, allocations: 0.9849 MB / 0.5027 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.1272, allocations: 0.8696 MB / 0.5035 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002476/0.1275, allocations: 111.2 kB / 0.5036 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.1275, allocations: 31.44 kB / 0.5037 GB, free: 10.46 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1275, allocations: 0 / 0.5037 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Templates: time 0.007437/0.135, allocations: 3.944 MB / 0.5075 GB, free: 6.516 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)