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.001319/0.001319, allocations: 115.5 kB / 17.69 MB, free: 5.438 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: 192 kB / 18.63 MB, free: 4.504 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.449/1.449, allocations: 205.1 MB / 224.5 MB, free: 12.28 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.8 MB, free: 5.992 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.001409/0.001409, allocations: 63.91 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2277, allocations: 55.24 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.0048/0.2325, allocations: 4.547 MB / 436.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.2345, allocations: 1.609 MB / 438.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.2348, allocations: 15.88 kB / 438.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009231/0.2357, allocations: 290.6 kB / 438.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006449/0.2364, allocations: 274.6 kB / 438.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008335/0.2372, allocations: 259.4 kB / 439 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006803/0.2379, allocations: 0.604 MB / 439.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004688/0.2384, allocations: 252.3 kB / 439.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.2388, allocations: 262.9 kB / 440.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.2392, allocations: 334.9 kB / 440.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.2393, allocations: 32 kB / 440.5 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.2396, allocations: 135.8 kB / 440.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.2397, allocations: 227.4 kB / 440.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.24, allocations: 242.8 kB / 441.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.2405, allocations: 0.5957 MB / 441.7 MB, free: 9.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2405, allocations: 0 / 441.7 MB, free: 9.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2405, allocations: 0 / 441.7 MB, free: 9.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.2405, allocations: 4 kB / 441.7 MB, free: 9.832 MB / 318.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.001159/0.2417, allocations: 0.7737 MB / 442.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2417, allocations: 15.89 kB / 442.5 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005427/0.2423, allocations: 88.22 kB / 442.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.2429, allocations: 416.1 kB / 442.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.2429, allocations: 33.36 kB / 443 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.243, allocations: 60.02 kB / 443 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.2438, allocations: 0.6599 MB / 443.7 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.2438, allocations: 4 kB / 443.7 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.2439, allocations: 19.98 kB / 443.7 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.244, allocations: 44.97 kB / 443.8 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006124/0.2446, allocations: 0.4916 MB / 444.3 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.247, allocations: 3.136 MB / 447.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.2473, allocations: 245.3 kB / 447.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.2475, allocations: 117.7 kB / 447.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.2475, allocations: 7.938 kB / 447.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2476, allocations: 38.56 kB / 447.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.723e-06/0.2476, allocations: 0 / 447.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001173/0.2487, allocations: 0.901 MB / 448.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2488, allocations: 85.22 kB / 448.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.249, allocations: 332.4 kB / 449.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.2491, allocations: 29.7 kB / 449.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2492, allocations: 283.1 kB / 449.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.2492, allocations: 98.72 kB / 449.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.594e-05/0.2493, allocations: 86.03 kB / 449.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.2494, allocations: 342.8 kB / 449.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.2496, allocations: 136.8 kB / 450.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.2498, allocations: 325.1 kB / 450.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.2503, allocations: 0.4924 MB / 450.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2503, allocations: 4 kB / 450.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001034/0.2513, allocations: 0.588 MB / 451.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2513, allocations: 11.94 kB / 451.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005868/0.2519, allocations: 334.3 kB / 451.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.2524, allocations: 117.6 kB / 451.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.2527, allocations: 99.77 kB / 452 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/0.2553, allocations: 3.27 MB / 455.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.2556, allocations: 20 kB / 455.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.2556, allocations: 23.98 kB / 455.3 MB, free: 11.21 MB / 334.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.0002221/0.2559, allocations: 217.7 kB / 455.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.2559, allocations: 31.53 kB / 455.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.2564, allocations: 316.7 kB / 455.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2564, allocations: 0 / 455.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2564, allocations: 7.938 kB / 455.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2565, allocations: 0 / 455.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.2576, allocations: 0.8005 MB / 456.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2576, allocations: 4 kB / 456.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.2579, allocations: 63.91 kB / 456.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2579, allocations: 7.938 kB / 456.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.258, allocations: 8 kB / 456.8 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.258, allocations: 0 / 456.8 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.258, allocations: 0 / 456.8 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.2586, allocations: 0.5105 MB / 457.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.2587, allocations: 132.7 kB / 457.4 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.2588, allocations: 8 kB / 457.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.2589, allocations: 11.98 kB / 457.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.259, allocations: 15.97 kB / 457.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.259, allocations: 8 kB / 457.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.2592, allocations: 223.1 kB / 457.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2592, allocations: 0 / 457.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004504/0.2597, allocations: 96 kB / 457.8 MB, free: 8.652 MB / 334.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.000118/0.2598, allocations: 107.2 kB / 457.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009143/0.2607, allocations: 0.584 MB / 458.4 MB, free: 7.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2607, allocations: 0 / 458.4 MB, free: 7.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.2609, allocations: 131.7 kB / 458.6 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.2614, allocations: 83.95 kB / 458.7 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.2629, allocations: 0.9813 MB / 459.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.2634, allocations: 0.8699 MB / 460.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.2637, allocations: 115.1 kB / 460.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.2638, allocations: 35.42 kB / 460.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2638, allocations: 0 / 460.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of Templates: time 0.007953/0.2718, allocations: 3.808 MB / 464.5 MB, free: 1.875 MB / 334.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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)