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.0008584/0.0008591, allocations: 92.73 kB / 16.65 MB, free: 6.586 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.001125/0.001126, allocations: 185.3 kB / 17.56 MB, free: 6.203 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.557/1.557, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1746/0.1746, allocations: 38.05 MB / 310.1 MB, free: 5.914 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.0005132/0.0005136, allocations: 12 kB / 377.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2367, allocations: 56.34 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004333/0.2411, allocations: 4.803 MB / 438.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.2434, allocations: 1.781 MB / 440.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.2437, allocations: 23.88 kB / 440.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.244, allocations: 59.53 kB / 440.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005552/0.2445, allocations: 250.9 kB / 440.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.2451, allocations: 231.5 kB / 440.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006235/0.2457, allocations: 0.92 MB / 441.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006521/0.2464, allocations: 480.4 kB / 442 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.2466, allocations: 222.9 kB / 442.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.247, allocations: 326.9 kB / 442.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.2471, allocations: 16 kB / 442.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.2473, allocations: 143.7 kB / 442.7 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.2474, allocations: 195.4 kB / 442.9 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.2476, allocations: 252.4 kB / 443.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.248, allocations: 0.5683 MB / 443.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.248, allocations: 0 / 443.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.248, allocations: 0 / 443.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.248, allocations: 0 / 443.7 MB, free: 8.531 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.000998/0.249, allocations: 0.6841 MB / 444.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2491, allocations: 8.031 kB / 444.4 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005958/0.2497, allocations: 96.22 kB / 444.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.2501, allocations: 396 kB / 444.9 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2502, allocations: 29.38 kB / 444.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.2503, allocations: 60 kB / 445 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006851/0.251, allocations: 0.6638 MB / 445.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.251, allocations: 0 / 445.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.2511, allocations: 20 kB / 445.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.2512, allocations: 48.91 kB / 445.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005868/0.2518, allocations: 499.4 kB / 446.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.2542, allocations: 3.152 MB / 449.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.2546, allocations: 241.3 kB / 449.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.2548, allocations: 125.7 kB / 449.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.2548, allocations: 7.938 kB / 449.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2549, allocations: 38.5 kB / 449.8 MB, free: 2.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.2549, allocations: 7.938 kB / 449.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001223/0.2561, allocations: 0.901 MB / 450.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.2562, allocations: 77.11 kB / 450.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.2564, allocations: 332.3 kB / 451.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.2564, allocations: 29.7 kB / 451.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.2566, allocations: 291.1 kB / 451.4 MB, free: 428 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.2566, allocations: 94.86 kB / 451.5 MB, free: 332 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.2567, allocations: 45.7 kB / 451.5 MB, free: 280 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2568, allocations: 346.7 kB / 451.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.257, allocations: 132.8 kB / 452 MB, free: 15.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.2573, allocations: 321.1 kB / 452.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006007/0.2579, allocations: 0.4964 MB / 452.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2579, allocations: 3.938 kB / 452.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00106/0.259, allocations: 0.5963 MB / 453.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.259, allocations: 8 kB / 453.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005986/0.2596, allocations: 333.3 kB / 453.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.2601, allocations: 109.6 kB / 453.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.2604, allocations: 91.83 kB / 453.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.2631, allocations: 3.041 MB / 457 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.2634, allocations: 20 kB / 457 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.2634, allocations: 23.98 kB / 457 MB, free: 10.29 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.0002671/0.2637, allocations: 217.6 kB / 457.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.2638, allocations: 31.62 kB / 457.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/0.2643, allocations: 316.6 kB / 457.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2643, allocations: 4 kB / 457.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.2643, allocations: 0 / 457.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.2643, allocations: 4 kB / 457.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.2654, allocations: 0.8043 MB / 458.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2654, allocations: 4 kB / 458.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.2657, allocations: 59.91 kB / 458.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.2657, allocations: 4.141 kB / 458.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.2657, allocations: 4 kB / 458.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2657, allocations: 4 kB / 458.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2657, allocations: 4.062 kB / 458.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.2664, allocations: 0.5091 MB / 459 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.2665, allocations: 128.8 kB / 459.1 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.2665, allocations: 15.98 kB / 459.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2667, allocations: 11.94 kB / 459.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.2668, allocations: 23.91 kB / 459.1 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.2668, allocations: 4 kB / 459.1 MB, free: 8.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002992/0.2671, allocations: 223.1 kB / 459.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2671, allocations: 3.938 kB / 459.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004865/0.2676, allocations: 99.98 kB / 459.5 MB, free: 7.715 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.0001623/0.2678, allocations: 103.2 kB / 459.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009801/0.2688, allocations: 0.5802 MB / 460.1 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2688, allocations: 0 / 460.1 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.269, allocations: 136.2 kB / 460.3 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.2696, allocations: 65.86 kB / 460.3 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.2712, allocations: 1.246 MB / 461.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.2717, allocations: 0.8662 MB / 462.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.272, allocations: 115.1 kB / 462.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.968e-05/0.2721, allocations: 35.42 kB / 462.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2721, allocations: 0 / 462.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of Templates: time 0.007482/0.2796, allocations: 3.619 MB / 466.2 MB, free: 0.8789 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: