Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.002324/0.002324, allocations: 197.3 kB / 18.2 MB, free: 5.406 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.35/2.35, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.349/0.349, allocations: 38.03 MB / 330.1 MB, free: 8.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 61.22 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1668, allocations: 58.07 MB / 457 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.009371/0.1762, allocations: 6.556 MB / 463.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.1807, allocations: 1.601 MB / 465.2 MB, free: 248 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.182, allocations: 47.69 kB / 465.2 MB, free: 200 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007796/0.1828, allocations: 123.3 kB / 465.3 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.1843, allocations: 338.6 kB / 465.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.1848, allocations: 123.9 kB / 465.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.1861, allocations: 0.7515 MB / 466.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.1866, allocations: 200.1 kB / 466.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008453/0.1874, allocations: 334.5 kB / 467.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009403/0.1884, allocations: 410.6 kB / 467.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.1885, allocations: 36 kB / 467.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.1887, allocations: 39.94 kB / 467.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.189, allocations: 191.5 kB / 467.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004122/0.1894, allocations: 250.7 kB / 468 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.19, allocations: 411.1 kB / 468.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1901, allocations: 0 / 468.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1901, allocations: 0 / 468.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.1901, allocations: 0 / 468.4 MB, free: 13.02 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001613/0.1917, allocations: 0.8086 MB / 469.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.1918, allocations: 11.89 kB / 469.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1919, allocations: 52.28 kB / 469.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000886/0.1928, allocations: 460.4 kB / 469.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.1929, allocations: 32.92 kB / 469.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.193, allocations: 40 kB / 469.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/0.1938, allocations: 0.4922 MB / 470.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1939, allocations: 4 kB / 470.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.1939, allocations: 16 kB / 470.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/0.194, allocations: 17 kB / 470.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006472/0.1946, allocations: 371.6 kB / 470.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.1979, allocations: 2.087 MB / 472.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.1985, allocations: 237.3 kB / 473 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.1988, allocations: 129.7 kB / 473.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1988, allocations: 4 kB / 473.1 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/0.1989, allocations: 38.48 kB / 473.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 3.116e-06/0.1989, allocations: 0 / 473.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001634/0.2005, allocations: 0.7616 MB / 473.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.2006, allocations: 85.05 kB / 474 MB, free: 7.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.2011, allocations: 381.4 kB / 474.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.2012, allocations: 33.7 kB / 474.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.2014, allocations: 291 kB / 474.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/0.2015, allocations: 82.84 kB / 474.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.2017, allocations: 86.16 kB / 474.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.2019, allocations: 350.8 kB / 475.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.2021, allocations: 84.83 kB / 475.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.2024, allocations: 273.2 kB / 475.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.203, allocations: 415.1 kB / 475.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.203, allocations: 0 / 475.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000811/0.2038, allocations: 453.9 kB / 476.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.2038, allocations: 8 kB / 476.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.2038, allocations: 8.062 kB / 476.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/0.2041, allocations: 52.83 kB / 476.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.2044, allocations: 87.83 kB / 476.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.2062, allocations: 1.606 MB / 478.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.2065, allocations: 19.91 kB / 478.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.2066, allocations: 24 kB / 478.2 MB, free: 2.473 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002935/0.2069, allocations: 201.7 kB / 478.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/0.2069, allocations: 43.47 kB / 478.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000413/0.2074, allocations: 239.5 kB / 478.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2074, allocations: 4 kB / 478.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.2074, allocations: 0 / 478.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2074, allocations: 0 / 478.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.2085, allocations: 0.6865 MB / 479.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2085, allocations: 0 / 479.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.2088, allocations: 55.91 kB / 479.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2088, allocations: 0 / 479.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.2088, allocations: 4 kB / 479.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2088, allocations: 0 / 479.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2088, allocations: 0 / 479.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.2094, allocations: 444.4 kB / 479.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.2096, allocations: 120.6 kB / 479.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.2097, allocations: 7.938 kB / 480 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2098, allocations: 11.98 kB / 480 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.2099, allocations: 11.98 kB / 480 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.2099, allocations: 8 kB / 480 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003184/0.2102, allocations: 255.1 kB / 480.2 MB, free: 304 kB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.2102, allocations: 8 kB / 480.2 MB, free: 296 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.2108, allocations: 92 kB / 480.3 MB, free: 204 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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.0001388/0.2109, allocations: 95.25 kB / 480.4 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000856/0.2118, allocations: 426.5 kB / 480.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.2118, allocations: 0 / 480.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.212, allocations: 95.84 kB / 480.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.2126, allocations: 90.5 kB / 481 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.2145, allocations: 1.063 MB / 482.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.2151, allocations: 0.8583 MB / 482.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.362e-05/0.2152, allocations: 35.44 kB / 483 MB, free: 13.46 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2152, allocations: 0 / 483 MB, free: 13.46 MB / 366.1 MB Notification: Performance of Templates: time 0.01173/0.2269, allocations: 5.952 MB / 488.9 MB, free: 7.52 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)