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.00122/0.00122, allocations: 117.8 kB / 17.7 MB, free: 5.305 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.001163/0.001163, allocations: 192 kB / 18.63 MB, free: 4.375 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.655/1.655, allocations: 205.1 MB / 224.5 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1967/0.1967, allocations: 37.99 MB / 309.8 MB, free: 5.984 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.001665/0.001665, allocations: 71.89 kB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3112, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.00679/0.318, allocations: 5.185 MB / 437.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.3211, allocations: 1.8 MB / 439 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.3214, allocations: 15.94 kB / 439 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.3225, allocations: 445.9 kB / 439.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.3231, allocations: 290.5 kB / 439.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000789/0.3239, allocations: 359.2 kB / 440.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000568/0.3244, allocations: 0.7636 MB / 440.9 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.3249, allocations: 382.1 kB / 441.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003429/0.3253, allocations: 338.7 kB / 441.6 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.3258, allocations: 458.6 kB / 442 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.3259, allocations: 48 kB / 442.1 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.3262, allocations: 171.7 kB / 442.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.3264, allocations: 287.2 kB / 442.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.3267, allocations: 334.4 kB / 442.8 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006175/0.3273, allocations: 0.81 MB / 443.6 MB, free: 7.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3274, allocations: 4 kB / 443.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3274, allocations: 0 / 443.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.3274, allocations: 0 / 443.6 MB, free: 7.836 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.00144/0.3288, allocations: 0.9175 MB / 444.6 MB, free: 6.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3289, allocations: 11.89 kB / 444.6 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008863/0.3298, allocations: 136 kB / 444.7 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008713/0.3306, allocations: 0.5353 MB / 445.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.3307, allocations: 37.12 kB / 445.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003012/0.331, allocations: 135.8 kB / 445.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/0.3319, allocations: 0.8587 MB / 446.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.3319, allocations: 0 / 446.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.332, allocations: 24 kB / 446.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003846/0.3324, allocations: 68.94 kB / 446.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.3332, allocations: 0.6243 MB / 447 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003598/0.3368, allocations: 3.781 MB / 450.8 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009733/0.3378, allocations: 0.5447 MB / 451.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/0.3383, allocations: 315 kB / 451.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.319e-05/0.3383, allocations: 12.33 kB / 451.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3384, allocations: 46.88 kB / 451.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.575e-06/0.3384, allocations: 3.938 kB / 451.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.003084/0.3415, allocations: 1.828 MB / 453.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.3416, allocations: 85.55 kB / 453.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.3421, allocations: 417.8 kB / 454 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.3421, allocations: 37.7 kB / 454 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.3424, allocations: 323.7 kB / 454.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.3425, allocations: 205.1 kB / 454.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.3428, allocations: 150.2 kB / 454.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3429, allocations: 378.7 kB / 455.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.3435, allocations: 373.5 kB / 455.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/0.3443, allocations: 0.5941 MB / 456 MB, free: 10.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.3456, allocations: 1.065 MB / 457.1 MB, free: 9.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.3456, allocations: 8 kB / 457.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004547/0.3502, allocations: 2.003 MB / 459.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.3502, allocations: 8 kB / 459.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.3503, allocations: 8.656 kB / 459.1 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/0.3527, allocations: 0.9729 MB / 460.1 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.3532, allocations: 119.8 kB / 460.2 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.3644, allocations: 8.181 MB / 468.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.3652, allocations: 35.97 kB / 468.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.3653, allocations: 35.98 kB / 468.5 MB, free: 14.06 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.0005175/0.3658, allocations: 249.5 kB / 468.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3659, allocations: 47.44 kB / 468.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.3672, allocations: 0.7374 MB / 469.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3672, allocations: 4 kB / 469.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3672, allocations: 4 kB / 469.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3672, allocations: 7.922 kB / 469.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.3701, allocations: 1.513 MB / 471 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3701, allocations: 3.938 kB / 471 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.3712, allocations: 183.8 kB / 471.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.3712, allocations: 4 kB / 471.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/0.3713, allocations: 36.02 kB / 471.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.3713, allocations: 4.156 kB / 471.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3713, allocations: 0 / 471.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.3728, allocations: 0.9895 MB / 472.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.3729, allocations: 136.4 kB / 472.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.373, allocations: 27.98 kB / 472.4 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.3734, allocations: 27.97 kB / 472.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.3735, allocations: 28.39 kB / 472.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.3735, allocations: 15.98 kB / 472.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003238/0.3739, allocations: 283.1 kB / 472.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3739, allocations: 0 / 472.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001044/0.3749, allocations: 215.9 kB / 473 MB, free: 9.445 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.0002488/0.3752, allocations: 135.1 kB / 473.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.3782, allocations: 1.473 MB / 474.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3783, allocations: 3.938 kB / 474.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004835/0.3787, allocations: 310.9 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.0007819/0.3795, allocations: 125.6 kB / 475 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.3841, allocations: 2.678 MB / 477.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/0.3848, allocations: 0.9882 MB / 478.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005697/0.3854, allocations: 204.6 kB / 478.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.3856, allocations: 51.36 kB / 478.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3856, allocations: 3.938 kB / 478.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of Templates: time 0.01901/0.4046, allocations: 10.62 MB / 489.5 MB, free: 8.789 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 cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)