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.0009022/0.0009024, allocations: 88.02 kB / 16.65 MB, free: 6.535 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.001147/0.001148, allocations: 176.3 kB / 17.56 MB, free: 6.18 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.4 MB / 223.7 MB, free: 12.98 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1624/0.1624, allocations: 38.05 MB / 310.1 MB, free: 5.898 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.0008943/0.0008941, allocations: 15.98 kB / 377.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2662, allocations: 56.33 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.004741/0.271, allocations: 5.613 MB / 439.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.2735, allocations: 2.03 MB / 441.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.2738, allocations: 31.81 kB / 441.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.2742, allocations: 115.2 kB / 441.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005773/0.2748, allocations: 278.8 kB / 441.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.2756, allocations: 327.4 kB / 441.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007407/0.2763, allocations: 1.083 MB / 443 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007967/0.2771, allocations: 0.619 MB / 443.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.2774, allocations: 274.7 kB / 443.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005217/0.278, allocations: 454.6 kB / 444.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.278, allocations: 28 kB / 444.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.2783, allocations: 155.7 kB / 444.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.2785, allocations: 259.3 kB / 444.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.2788, allocations: 328 kB / 445 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005515/0.2793, allocations: 0.7747 MB / 445.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2794, allocations: 0 / 445.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2794, allocations: 3.938 kB / 445.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.2794, allocations: 0 / 445.8 MB, free: 6.273 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.001382/0.2808, allocations: 0.8046 MB / 446.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2808, allocations: 12.03 kB / 446.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009205/0.2817, allocations: 132.1 kB / 446.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/0.2824, allocations: 0.5196 MB / 447.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.2825, allocations: 33.12 kB / 447.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/0.2828, allocations: 131.8 kB / 447.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/0.2837, allocations: 0.8587 MB / 448.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.2838, allocations: 7.938 kB / 448.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/0.2838, allocations: 20 kB / 448.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004216/0.2843, allocations: 68.94 kB / 448.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.285, allocations: 0.6205 MB / 449 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.2886, allocations: 3.796 MB / 452.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.2897, allocations: 0.5421 MB / 453.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.2902, allocations: 319 kB / 453.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.527e-05/0.2902, allocations: 16.41 kB / 453.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.2903, allocations: 38.94 kB / 453.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 3.036e-06/0.2903, allocations: 0 / 453.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.002959/0.2932, allocations: 1.836 MB / 455.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.2933, allocations: 85.55 kB / 455.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.2937, allocations: 421.7 kB / 456 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.2938, allocations: 37.7 kB / 456.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.294, allocations: 323.7 kB / 456.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.2942, allocations: 201.2 kB / 456.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.2943, allocations: 81.7 kB / 456.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.2945, allocations: 374.7 kB / 457 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.2951, allocations: 373.5 kB / 457.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007699/0.2958, allocations: 0.5979 MB / 458 MB, free: 9.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.2973, allocations: 1.068 MB / 459.1 MB, free: 8.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2974, allocations: 0 / 459.1 MB, free: 8.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004373/0.3017, allocations: 2.003 MB / 461.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3018, allocations: 8 kB / 461.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.3018, allocations: 8 kB / 461.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.3042, allocations: 0.9774 MB / 462.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.3046, allocations: 119.8 kB / 462.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009955/0.3146, allocations: 7.399 MB / 469.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.3153, allocations: 35.97 kB / 469.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/0.3154, allocations: 32 kB / 469.7 MB, free: 13.48 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.0004487/0.3158, allocations: 241.6 kB / 469.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.316, allocations: 51.38 kB / 469.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.3172, allocations: 0.7335 MB / 470.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3172, allocations: 7.984 kB / 470.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3172, allocations: 3.938 kB / 470.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.3172, allocations: 7.984 kB / 470.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.3197, allocations: 1.521 MB / 472.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3197, allocations: 4.094 kB / 472.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009453/0.3206, allocations: 187.8 kB / 472.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.3207, allocations: 4.062 kB / 472.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/0.3207, allocations: 31.98 kB / 472.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3207, allocations: 0 / 472.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3208, allocations: 7.938 kB / 472.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.3221, allocations: 0.997 MB / 473.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.3223, allocations: 116.5 kB / 473.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.215e-05/0.3224, allocations: 31.98 kB / 473.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.3227, allocations: 23.97 kB / 473.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.3228, allocations: 36.45 kB / 473.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.3228, allocations: 23.98 kB / 473.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.3231, allocations: 283.1 kB / 473.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3232, allocations: 0 / 473.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000861/0.324, allocations: 208 kB / 474.1 MB, free: 8.855 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.0001915/0.3242, allocations: 131.1 kB / 474.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.3267, allocations: 1.458 MB / 475.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3267, allocations: 4.062 kB / 475.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.3272, allocations: 310.3 kB / 476 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/0.3279, allocations: 128.6 kB / 476.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.3323, allocations: 3.233 MB / 479.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005929/0.3329, allocations: 0.9843 MB / 480.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005248/0.3334, allocations: 196.6 kB / 480.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.3336, allocations: 47.42 kB / 480.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3336, allocations: 0 / 480.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Templates: time 0.01531/0.3489, allocations: 10.11 MB / 490.7 MB, free: 8.191 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: