Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002225/0.002226, allocations: 108 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.004011/0.004011, 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.427/2.427, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2783/0.2783, allocations: 38.02 MB / 330.1 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 61.88 kB / 398.9 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1659, allocations: 58.06 MB / 457 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.01254/0.1785, allocations: 5.761 MB / 462.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004847/0.1835, allocations: 1.554 MB / 464.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.1848, allocations: 31.81 kB / 464.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.1859, allocations: 111.2 kB / 464.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.1878, allocations: 302.7 kB / 464.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000874/0.1887, allocations: 139.8 kB / 464.9 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.1904, allocations: 0.6932 MB / 465.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005279/0.191, allocations: 160.1 kB / 465.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.1921, allocations: 302.8 kB / 466 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.1935, allocations: 470.7 kB / 466.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.1938, allocations: 44 kB / 466.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.1941, allocations: 48 kB / 466.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006307/0.1948, allocations: 235.4 kB / 466.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009347/0.1958, allocations: 282.7 kB / 467.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.1968, allocations: 487 kB / 467.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.1968, allocations: 3.984 kB / 467.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.111e-06/0.1969, allocations: 0 / 467.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.1969, allocations: 0 / 467.6 MB, free: 13.79 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00354/0.2004, allocations: 0.944 MB / 468.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.153e-05/0.2006, allocations: 19.83 kB / 468.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.2008, allocations: 52.28 kB / 468.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.2031, allocations: 0.5955 MB / 469.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.502e-05/0.2031, allocations: 28.66 kB / 469.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.2033, allocations: 43.98 kB / 469.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.2048, allocations: 0.5478 MB / 469.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.2048, allocations: 0 / 469.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/0.2049, allocations: 12 kB / 469.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005102/0.2054, allocations: 88.52 kB / 469.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.2066, allocations: 362.3 kB / 470.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006087/0.2127, allocations: 2.062 MB / 472.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.2144, allocations: 385.2 kB / 472.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.2155, allocations: 317.5 kB / 473 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.2156, allocations: 7.938 kB / 473 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.106e-05/0.2157, allocations: 38.55 kB / 473 MB, free: 8.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 4.969e-06/0.2157, allocations: 7.938 kB / 473 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.008489/0.2242, allocations: 2.538 MB / 475.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.2244, allocations: 81.11 kB / 475.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/0.2252, allocations: 381.6 kB / 476 MB, free: 4.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/0.2254, allocations: 37.73 kB / 476.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.2257, allocations: 248.2 kB / 476.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.226, allocations: 138.1 kB / 476.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.2263, allocations: 98.25 kB / 476.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003057/0.2267, allocations: 358.7 kB / 476.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/0.2274, allocations: 249 kB / 477.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009136/0.2283, allocations: 366.6 kB / 477.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.23, allocations: 0.6235 MB / 478.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.23, allocations: 0 / 478.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003556/0.2336, allocations: 1.013 MB / 479.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.2336, allocations: 7.938 kB / 479.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.2337, allocations: 4 kB / 479.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/0.2358, allocations: 409.5 kB / 479.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/0.2365, allocations: 83.89 kB / 479.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.2474, allocations: 5.143 MB / 484.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009107/0.2483, allocations: 43.94 kB / 484.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.2485, allocations: 20 kB / 484.8 MB, free: 11.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006848/0.2492, allocations: 197.7 kB / 485 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.2495, allocations: 39.44 kB / 485.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/0.2526, allocations: 0.8389 MB / 485.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.2526, allocations: 7.938 kB / 485.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/0.2527, allocations: 7.938 kB / 485.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2527, allocations: 0 / 485.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/0.2572, allocations: 1.418 MB / 487.3 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.2572, allocations: 0 / 487.3 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/0.2577, allocations: 35.98 kB / 487.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/0.2599, allocations: 445.3 kB / 487.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.2601, allocations: 35.91 kB / 487.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.2708, allocations: 6.714 MB / 494.6 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/0.2709, allocations: 3.938 kB / 494.6 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/0.2745, allocations: 1.132 MB / 495.7 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.2748, allocations: 116.6 kB / 495.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.2751, allocations: 27.98 kB / 495.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/0.2758, allocations: 39.94 kB / 495.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.276, allocations: 31.94 kB / 495.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.2761, allocations: 11.98 kB / 495.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006153/0.2767, allocations: 267.2 kB / 496.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2767, allocations: 0 / 496.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001408/0.2781, allocations: 167.9 kB / 496.3 MB, free: 15.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (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.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]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003506/0.2785, allocations: 125 kB / 496.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00332/0.2819, allocations: 0.9816 MB / 497.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.2819, allocations: 0 / 497.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00303/0.2849, allocations: 1.087 MB / 498.5 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.2864, allocations: 120.1 kB / 498.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/0.2927, allocations: 2.048 MB / 0.489 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.2938, allocations: 0.8819 MB / 0.4898 GB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.294, allocations: 35.44 kB / 0.4899 GB, free: 9.855 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.294, allocations: 0 / 0.4899 GB, free: 9.855 MB / 382.1 MB Notification: Performance of Templates: time 0.03245/0.3265, allocations: 13.26 MB / 0.5028 GB, free: 12.61 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)