Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00202/0.002019, allocations: 115.3 kB / 17.06 MB, free: 6 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.001701/0.001702, allocations: 196 kB / 18 MB, free: 5.078 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.749/1.749, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1875/0.1875, allocations: 37.99 MB / 309.2 MB, free: 5.941 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.002493/0.002493, allocations: 75.88 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1684, allocations: 55.23 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.008725/0.1772, allocations: 4.577 MB / 491.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.1807, allocations: 1.516 MB / 493.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.1813, allocations: 15.88 kB / 493.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.1827, allocations: 378.9 kB / 493.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009524/0.1837, allocations: 242.8 kB / 493.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009282/0.1846, allocations: 247.4 kB / 494.1 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.1858, allocations: 0.565 MB / 494.6 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008157/0.1866, allocations: 338.5 kB / 495 MB, free: 468 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008308/0.1874, allocations: 263 kB / 495.2 MB, free: 204 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009017/0.1883, allocations: 311 kB / 495.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.1885, allocations: 36 kB / 495.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/0.189, allocations: 143.8 kB / 495.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003397/0.1893, allocations: 227.4 kB / 495.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004157/0.1898, allocations: 250.8 kB / 496.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009098/0.1907, allocations: 0.5957 MB / 496.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1907, allocations: 0 / 496.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1907, allocations: 0 / 496.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.436e-05/0.1907, 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001679/0.1924, allocations: 0.7698 MB / 497.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1925, allocations: 19.83 kB / 497.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006304/0.1931, allocations: 96.22 kB / 497.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/0.1938, allocations: 424 kB / 498.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.1938, allocations: 33.31 kB / 498.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.194, allocations: 52.11 kB / 498.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009259/0.1949, allocations: 0.6488 MB / 498.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.195, allocations: 7.938 kB / 498.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.195, allocations: 16 kB / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.1951, allocations: 32.98 kB / 498.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.1959, allocations: 483.5 kB / 499.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.1995, allocations: 2.991 MB / 0.4905 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.1998, allocations: 185 kB / 0.4907 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.2, allocations: 109.7 kB / 0.4908 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.2, allocations: 4 kB / 0.4908 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.2001, allocations: 34.56 kB / 0.4909 GB, free: 8.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.2001, allocations: 0 / 0.4909 GB, free: 8.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001417/0.2015, allocations: 0.847 MB / 0.4917 GB, free: 7.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.2016, allocations: 81.11 kB / 0.4918 GB, free: 7.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.2019, allocations: 349.5 kB / 0.4921 GB, free: 7.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.202, allocations: 33.69 kB / 0.4921 GB, free: 7.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.2022, allocations: 298.9 kB / 0.4924 GB, free: 6.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/0.2023, allocations: 78.98 kB / 0.4925 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.2024, allocations: 89.94 kB / 0.4926 GB, free: 6.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2026, allocations: 346.8 kB / 0.4929 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.2028, allocations: 128.8 kB / 0.493 GB, free: 6.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.2032, allocations: 334.8 kB / 0.4933 GB, free: 5.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.2038, allocations: 0.4903 MB / 0.4938 GB, free: 5.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2038, allocations: 4 kB / 0.4938 GB, free: 5.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009938/0.2048, allocations: 0.5487 MB / 0.4944 GB, free: 4.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.2048, allocations: 12.03 kB / 0.4944 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005445/0.2054, allocations: 276.4 kB / 0.4946 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003526/0.2057, allocations: 80.78 kB / 0.4947 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.2061, allocations: 103.8 kB / 0.4948 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.2079, allocations: 1.726 MB / 0.4965 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.2082, allocations: 19.98 kB / 0.4965 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.2082, allocations: 28.06 kB / 0.4965 GB, free: 2.137 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002701/0.2085, allocations: 217.5 kB / 0.4967 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.2085, allocations: 39.53 kB / 0.4968 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005162/0.2091, allocations: 280.7 kB / 0.4971 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2091, allocations: 4 kB / 0.4971 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2091, allocations: 0 / 0.4971 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.2091, allocations: 7.984 kB / 0.4971 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.2104, allocations: 0.7888 MB / 0.4978 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.2104, allocations: 4 kB / 0.4978 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.2107, allocations: 55.84 kB / 0.4979 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2107, allocations: 4 kB / 0.4979 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.2108, allocations: 4 kB / 0.4979 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.2108, allocations: 4 kB / 0.4979 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.2108, allocations: 8 kB / 0.4979 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.2114, allocations: 485.4 kB / 0.4984 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/0.2115, allocations: 104.7 kB / 0.4985 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.2116, allocations: 8.031 kB / 0.4985 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.2118, allocations: 19.88 kB / 0.4985 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.2118, allocations: 16.27 kB / 0.4985 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2119, allocations: 8 kB / 0.4985 GB, free: 15.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.2121, allocations: 235.1 kB / 0.4987 GB, free: 15.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2121, allocations: 0 / 0.4987 GB, free: 15.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004724/0.2126, allocations: 96 kB / 0.4988 GB, free: 15.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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.0001726/0.2128, allocations: 103.2 kB / 0.4989 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008142/0.2136, allocations: 447.8 kB / 0.4994 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.2136, allocations: 0 / 0.4994 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.2138, allocations: 112.1 kB / 0.4995 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.2143, allocations: 74.75 kB / 0.4995 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.216, allocations: 0.9692 MB / 0.5005 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.2165, allocations: 0.8701 MB / 0.5013 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.2168, allocations: 115.2 kB / 0.5015 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.2169, allocations: 31.42 kB / 0.5015 GB, free: 12.87 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2169, allocations: 0 / 0.5015 GB, free: 12.87 MB / 398.1 MB Notification: Performance of Templates: time 0.008119/0.225, allocations: 3.612 MB / 0.505 GB, free: 9.254 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)