Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 104.6 kB / 16.57 MB, free: 6.258 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.001065/0.001065, allocations: 194.7 kB / 17.49 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04668/0.04668, allocations: 8.089 MB / 299.4 MB, free: 6.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.89 kB / 361.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1844, allocations: 51.52 MB / 413.2 MB, free: 25.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002173/0.1866, allocations: 1.65 MB / 414.8 MB, free: 24.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.188, allocations: 1.547 MB / 416.4 MB, free: 22.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.1881, allocations: 3.938 kB / 416.4 MB, free: 22.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1884, allocations: 111.6 kB / 416.5 MB, free: 22.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1887, allocations: 119.4 kB / 416.6 MB, free: 22.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.1901, allocations: 1.144 MB / 417.8 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.1904, allocations: 234.8 kB / 418 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1905, allocations: 68.22 kB / 418.1 MB, free: 21.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.742e-05/0.1906, allocations: 91.64 kB / 418.2 MB, free: 20.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.1907, allocations: 127.4 kB / 418.3 MB, free: 20.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.1908, allocations: 12 kB / 418.3 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.1911, allocations: 251.7 kB / 418.5 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.1911, allocations: 39.83 kB / 418.6 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.41e-05/0.1912, allocations: 107.4 kB / 418.7 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.1915, allocations: 325.4 kB / 419 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1915, allocations: 0 / 419 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1915, allocations: 0 / 419 MB, free: 20.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1915, allocations: 0 / 419 MB, free: 20.12 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002748/0.1943, allocations: 0.8996 MB / 419.9 MB, free: 19.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1943, allocations: 15.91 kB / 419.9 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.1944, allocations: 28.66 kB / 419.9 MB, free: 19.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1946, allocations: 263.7 kB / 420.2 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1947, allocations: 16.7 kB / 420.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.1947, allocations: 16.38 kB / 420.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.1951, allocations: 297.7 kB / 420.5 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1951, allocations: 192 / 420.5 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.1951, allocations: 7.938 kB / 420.5 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1951, allocations: 4 kB / 420.5 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.1955, allocations: 243.9 kB / 420.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.1967, allocations: 1.145 MB / 421.9 MB, free: 16.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.1972, allocations: 306.5 kB / 422.2 MB, free: 16.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.1974, allocations: 164.8 kB / 422.4 MB, free: 16.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/0.1975, allocations: 4 kB / 422.4 MB, free: 16.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1975, allocations: 42.5 kB / 422.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.412e-06/0.1975, allocations: 4 kB / 422.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002951/0.2004, allocations: 0.9613 MB / 423.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.2005, allocations: 81.11 kB / 423.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.2007, allocations: 203.1 kB / 423.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2007, allocations: 33.7 kB / 423.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.2008, allocations: 140.7 kB / 423.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.2008, allocations: 82.77 kB / 423.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2009, allocations: 69.58 kB / 424 MB, free: 14.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.201, allocations: 326.8 kB / 424.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.2012, allocations: 167.9 kB / 424.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.2014, allocations: 197.4 kB / 424.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.2019, allocations: 370.4 kB / 425 MB, free: 13.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2019, allocations: 0 / 425 MB, free: 13.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001651/0.2035, allocations: 0.6887 MB / 425.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2036, allocations: 4 kB / 425.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2036, allocations: 0 / 425.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/0.2053, allocations: 380.4 kB / 426.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.2056, allocations: 55.91 kB / 426.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/0.2093, allocations: 2.531 MB / 428.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.2096, allocations: 31.73 kB / 428.7 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.2097, allocations: 15.94 kB / 428.7 MB, free: 9.922 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.2098, allocations: 141.8 kB / 428.9 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.2099, allocations: 19.8 kB / 428.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.2115, allocations: 0.6526 MB / 429.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2116, allocations: 4 kB / 429.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2116, allocations: 0 / 429.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2116, allocations: 7.922 kB / 429.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.2119, allocations: 393.3 kB / 429.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2119, allocations: 0 / 429.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.212, allocations: 35.92 kB / 430 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.2138, allocations: 376.4 kB / 430.3 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2138, allocations: 8 kB / 430.3 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/0.2173, allocations: 2.495 MB / 432.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2173, allocations: 0 / 432.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.219, allocations: 0.6995 MB / 433.5 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.219, allocations: 104.8 kB / 433.6 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.2191, allocations: 8 kB / 433.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.2193, allocations: 19.36 kB / 433.7 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.2194, allocations: 19.91 kB / 433.7 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.2194, allocations: 12.12 kB / 433.7 MB, free: 4.715 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2196, allocations: 151.4 kB / 433.8 MB, free: 4.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2196, allocations: 4 kB / 433.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004543/0.22, allocations: 99.94 kB / 433.9 MB, free: 4.465 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.2202, allocations: 131.2 kB / 434.1 MB, free: 4.328 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.2217, allocations: 0.6351 MB / 434.7 MB, free: 3.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2217, allocations: 3.938 kB / 434.7 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.2228, allocations: 442.4 kB / 435.1 MB, free: 3.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.2232, allocations: 20 kB / 435.2 MB, free: 3.211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.224, allocations: 0.6016 MB / 435.8 MB, free: 2.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.2241, allocations: 0.7488 MB / 436.5 MB, free: 1.797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.2242, allocations: 27.44 kB / 436.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2242, allocations: 0 / 436.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of Templates: time 0.006414/0.2306, allocations: 4.857 MB / 441.4 MB, free: 12.92 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)