Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001798, allocations: 111.6 kB / 17.28 MB, free: 6.199 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.001698/0.001698, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.414/2.414, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3528/0.3528, allocations: 38.03 MB / 330.1 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002691/0.002691, allocations: 64.34 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2105, allocations: 58.06 MB / 457 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.01371/0.2243, allocations: 6.026 MB / 463 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007352/0.2317, allocations: 1.994 MB / 465 MB, free: 356 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.2331, allocations: 35.75 kB / 465 MB, free: 320 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.2361, allocations: 418.4 kB / 465.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.2384, allocations: 278.7 kB / 465.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.2406, allocations: 319.5 kB / 466 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.2426, allocations: 0.7598 MB / 466.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.244, allocations: 406.1 kB / 467.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.2453, allocations: 342.6 kB / 467.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.247, allocations: 482.6 kB / 468 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.2474, allocations: 55.92 kB / 468.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008885/0.2483, allocations: 163.8 kB / 468.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.249, allocations: 295.3 kB / 468.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.2501, allocations: 334.3 kB / 468.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.2517, allocations: 0.6276 MB / 469.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.2518, allocations: 0 / 469.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2518, allocations: 0 / 469.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.162e-05/0.2519, allocations: 0 / 469.5 MB, free: 11.88 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.004099/0.256, allocations: 0.9136 MB / 470.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.151e-05/0.2561, allocations: 11.89 kB / 470.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/0.2582, allocations: 139.9 kB / 470.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.2604, allocations: 0.5042 MB / 471 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.378e-05/0.2605, allocations: 37.11 kB / 471.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008889/0.2614, allocations: 127.9 kB / 471.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.2643, allocations: 0.8626 MB / 472.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/0.2643, allocations: 11.84 kB / 472.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.2645, allocations: 16 kB / 472.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009169/0.2654, allocations: 72.94 kB / 472.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.2676, allocations: 0.6205 MB / 472.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.2776, allocations: 3.792 MB / 476.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.2799, allocations: 0.5457 MB / 477.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009338/0.2809, allocations: 323 kB / 477.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.766e-05/0.2811, allocations: 12.42 kB / 477.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/0.2811, allocations: 46.88 kB / 477.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 6.062e-06/0.2812, allocations: 0 / 477.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.006685/0.2878, allocations: 1.834 MB / 479.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.288, allocations: 81.55 kB / 479.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009232/0.2889, allocations: 421.8 kB / 479.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.2891, allocations: 33.7 kB / 479.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.2895, allocations: 327.7 kB / 480.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.2899, allocations: 197.2 kB / 480.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004641/0.2904, allocations: 150.2 kB / 480.5 MB, free: 400 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002894/0.2907, allocations: 370.7 kB / 480.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.2919, allocations: 381.5 kB / 481.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.2934, allocations: 0.594 MB / 481.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/0.2961, allocations: 1.068 MB / 482.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.2962, allocations: 0 / 482.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.008972/0.3052, allocations: 2.007 MB / 484.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.3053, allocations: 11.94 kB / 484.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.131e-05/0.3054, allocations: 8 kB / 484.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006394/0.3118, allocations: 0.9696 MB / 485.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008765/0.3127, allocations: 123.8 kB / 486 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02393/0.3367, allocations: 8.193 MB / 494.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000982/0.3377, allocations: 36.05 kB / 494.2 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.338, allocations: 39.97 kB / 494.3 MB, free: 2.094 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000674/0.3387, allocations: 249.5 kB / 494.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.3389, allocations: 51.34 kB / 494.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.3409, allocations: 0.7297 MB / 495.3 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.3409, allocations: 4 kB / 495.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3409, allocations: 4 kB / 495.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.3409, allocations: 3.984 kB / 495.3 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.3453, allocations: 1.513 MB / 496.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.3453, allocations: 0 / 496.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/0.347, allocations: 191.8 kB / 497 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-05/0.347, allocations: 4 kB / 497 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.3472, allocations: 35.98 kB / 497.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.602e-05/0.3472, allocations: 4 kB / 497.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3472, allocations: 0 / 497.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.3496, allocations: 0.9934 MB / 498.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/0.3499, allocations: 132.3 kB / 498.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.3502, allocations: 27.98 kB / 498.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.3508, allocations: 27.97 kB / 498.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.3509, allocations: 32.39 kB / 498.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/0.351, allocations: 12 kB / 498.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005348/0.3515, allocations: 287.1 kB / 498.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3515, allocations: 4 kB / 498.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001444/0.353, allocations: 208 kB / 498.8 MB, free: 13.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * 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.0002614/0.3533, allocations: 131 kB / 498.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004846/0.3581, allocations: 1.645 MB / 0.4888 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.3582, allocations: 0.625 kB / 0.4888 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.359, allocations: 318.2 kB / 0.4891 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.3603, allocations: 132.1 kB / 0.4892 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009824/0.3701, allocations: 2.991 MB / 0.4922 GB, free: 8.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.3714, allocations: 0.9882 MB / 0.4931 GB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004963/0.3719, allocations: 47.42 kB / 0.4932 GB, free: 7.129 MB / 382.1 MB Notification: Performance of SimCode: time 5.079e-06/0.3719, allocations: 4 kB / 0.4932 GB, free: 7.125 MB / 382.1 MB Notification: Performance of Templates: time 0.03021/0.4022, allocations: 10.93 MB / 0.5038 GB, free: 12.21 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)