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 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.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.001557/0.001557, allocations: 109.9 kB / 17.68 MB, free: 5.332 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.001668/0.001668, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.534/1.534, allocations: 205.1 MB / 224.5 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.1714/0.1714, allocations: 37.99 MB / 309.8 MB, free: 5.957 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.001431/0.001431, allocations: 71.89 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2267, allocations: 55.23 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.009214/0.236, allocations: 5.193 MB / 437.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003969/0.24, allocations: 1.792 MB / 439 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005002/0.2405, allocations: 19.88 kB / 439 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.2424, allocations: 446 kB / 439.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.2435, allocations: 294.4 kB / 439.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.2448, allocations: 359.2 kB / 440.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.2459, allocations: 0.7675 MB / 440.9 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.2466, allocations: 382.1 kB / 441.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005627/0.2472, allocations: 334.7 kB / 441.6 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.2481, allocations: 450.7 kB / 442 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.2482, allocations: 55.98 kB / 442 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004416/0.2487, allocations: 163.8 kB / 442.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.249, allocations: 287.3 kB / 442.5 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.2495, allocations: 338.3 kB / 442.8 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009522/0.2504, allocations: 0.8177 MB / 443.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2505, allocations: 0 / 443.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.2505, allocations: 0 / 443.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.426e-05/0.2505, allocations: 0 / 443.6 MB, free: 7.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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002356/0.2529, allocations: 0.9115 MB / 444.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2529, allocations: 11.89 kB / 444.6 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.2547, allocations: 136 kB / 444.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.2563, allocations: 0.5353 MB / 445.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.2563, allocations: 37.12 kB / 445.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005639/0.2569, allocations: 135.8 kB / 445.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.2586, allocations: 0.8548 MB / 446.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.2587, allocations: 3.938 kB / 446.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/0.2588, allocations: 24 kB / 446.3 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007605/0.2595, allocations: 76.86 kB / 446.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.261, allocations: 0.6205 MB / 447 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006166/0.2672, allocations: 3.781 MB / 450.8 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.2689, allocations: 0.5421 MB / 451.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007724/0.2697, allocations: 315 kB / 451.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.2698, allocations: 12.41 kB / 451.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.2699, allocations: 42.94 kB / 451.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.875e-06/0.2699, allocations: 4 kB / 451.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.005212/0.2751, allocations: 1.832 MB / 453.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/0.2752, allocations: 85.53 kB / 453.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.276, allocations: 417.7 kB / 454 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/0.2761, allocations: 37.7 kB / 454 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.2764, allocations: 331.8 kB / 454.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.2767, allocations: 197.2 kB / 454.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003875/0.2771, allocations: 150.2 kB / 454.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.2774, allocations: 374.7 kB / 455.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.2784, allocations: 377.4 kB / 455.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.2797, allocations: 0.6018 MB / 456 MB, free: 10.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002593/0.2823, allocations: 1.065 MB / 457.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.2824, allocations: 4 kB / 457.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.008133/0.2905, allocations: 1.999 MB / 459.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.2906, allocations: 12.09 kB / 459.1 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.2906, allocations: 8 kB / 459.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004771/0.2954, allocations: 0.9768 MB / 460.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008447/0.2962, allocations: 115.8 kB / 460.2 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/0.3162, allocations: 8.193 MB / 468.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008889/0.3171, allocations: 31.98 kB / 468.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.3173, allocations: 35.98 kB / 468.5 MB, free: 14.05 MB / 350.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.0005937/0.3179, allocations: 249.6 kB / 468.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.3181, allocations: 47.44 kB / 468.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.3204, allocations: 0.7296 MB / 469.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.3204, allocations: 11.94 kB / 469.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3204, allocations: 0 / 469.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.3204, allocations: 3.984 kB / 469.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004862/0.3253, allocations: 1.513 MB / 471 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3253, allocations: 64 / 471 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/0.3276, allocations: 191.9 kB / 471.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.04e-05/0.3276, allocations: 7.938 kB / 471.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.3277, allocations: 35.86 kB / 471.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.3278, allocations: 4 kB / 471.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3278, allocations: 0 / 471.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.3304, allocations: 0.9895 MB / 472.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.3306, allocations: 128.4 kB / 472.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.3308, allocations: 31.92 kB / 472.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.3314, allocations: 27.97 kB / 472.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.3315, allocations: 32.39 kB / 472.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/0.3316, allocations: 15.98 kB / 472.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005435/0.3322, allocations: 279.1 kB / 472.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3322, allocations: 4 kB / 472.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001377/0.3336, allocations: 212 kB / 472.9 MB, free: 9.438 MB / 350.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.0002561/0.3339, allocations: 127.2 kB / 473.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004445/0.3383, allocations: 1.475 MB / 474.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.3384, allocations: 4.125 kB / 474.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006743/0.3391, allocations: 310.3 kB / 474.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/0.34, allocations: 129.4 kB / 475 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006993/0.347, allocations: 2.686 MB / 477.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008752/0.3479, allocations: 0.9804 MB / 478.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007737/0.3487, allocations: 200.6 kB / 478.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.349, allocations: 51.42 kB / 478.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.349, allocations: 0 / 478.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of Templates: time 0.02032/0.3694, allocations: 10.62 MB / 489.5 MB, free: 8.793 MB / 366.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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)