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.001036/0.001036, allocations: 112.5 kB / 17.07 MB, free: 6.066 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.001021/0.001021, allocations: 195 kB / 18.01 MB, free: 5.16 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04955/0.04955, allocations: 8.101 MB / 300 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 55.91 kB / 363.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1911, allocations: 51.51 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002671/0.1938, allocations: 1.609 MB / 416.3 MB, free: 23.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1951, allocations: 1.543 MB / 417.8 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.1952, allocations: 8 kB / 417.8 MB, free: 22.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.1954, allocations: 131.3 kB / 418 MB, free: 22.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1956, allocations: 135.1 kB / 418.1 MB, free: 22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.1972, allocations: 1.167 MB / 419.3 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1974, allocations: 242.8 kB / 419.5 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1975, allocations: 85.83 kB / 419.6 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.071e-05/0.1976, allocations: 103.6 kB / 419.7 MB, free: 20.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1977, allocations: 127.4 kB / 419.8 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1977, allocations: 16 kB / 419.8 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.198, allocations: 251.8 kB / 420.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.1981, allocations: 51.77 kB / 420.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.468e-05/0.1982, allocations: 115.5 kB / 420.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.1985, allocations: 428.5 kB / 420.7 MB, free: 19.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.1985, allocations: 4 kB / 420.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1985, allocations: 0 / 420.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1985, allocations: 0 / 420.7 MB, free: 19.43 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.002553/0.2011, allocations: 0.9124 MB / 421.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2011, allocations: 15.89 kB / 421.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.2012, allocations: 24.66 kB / 421.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.2014, allocations: 255.9 kB / 421.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2014, allocations: 16.7 kB / 421.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.2015, allocations: 24.38 kB / 421.9 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.2018, allocations: 290 kB / 422.2 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2019, allocations: 192 / 422.2 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.2019, allocations: 15.88 kB / 422.2 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2019, allocations: 7.984 kB / 422.2 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.2022, allocations: 239.9 kB / 422.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.2034, allocations: 1.133 MB / 423.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.204, allocations: 306.5 kB / 423.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.2041, allocations: 156.8 kB / 424 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.134e-05/0.2042, allocations: 15.97 kB / 424 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.2042, allocations: 30.56 kB / 424.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.2042, allocations: 0 / 424.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002901/0.2071, allocations: 0.969 MB / 425 MB, free: 14.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.2072, allocations: 77.11 kB / 425.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.2074, allocations: 211.1 kB / 425.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.2074, allocations: 37.7 kB / 425.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.2075, allocations: 132.7 kB / 425.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.2075, allocations: 82.73 kB / 425.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2076, allocations: 69.59 kB / 425.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.2077, allocations: 334.8 kB / 426 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.2079, allocations: 163.9 kB / 426.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.2081, allocations: 201.4 kB / 426.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.2085, allocations: 366.5 kB / 426.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2085, allocations: 0 / 426.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001592/0.2101, allocations: 0.6886 MB / 427.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2102, allocations: 10.5 kB / 427.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2102, allocations: 4 kB / 427.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.2118, allocations: 384.4 kB / 427.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.2121, allocations: 51.91 kB / 427.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.2157, allocations: 2.73 MB / 430.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.216, allocations: 31.69 kB / 430.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.216, allocations: 15.98 kB / 430.6 MB, free: 9.012 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.0001074/0.2162, allocations: 133.8 kB / 430.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.2162, allocations: 27.66 kB / 430.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.2178, allocations: 0.6521 MB / 431.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2179, allocations: 7.938 kB / 431.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.2179, allocations: 0 / 431.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.2179, allocations: 7.984 kB / 431.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.2182, allocations: 397.1 kB / 431.8 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2182, allocations: 0 / 431.8 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.2183, allocations: 31.98 kB / 431.8 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/0.2199, allocations: 368.5 kB / 432.2 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.2199, allocations: 12 kB / 432.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003441/0.2234, allocations: 2.711 MB / 434.9 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2234, allocations: 3.938 kB / 434.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.225, allocations: 0.7031 MB / 435.6 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.225, allocations: 96.77 kB / 435.7 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.2251, allocations: 8 kB / 435.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.2253, allocations: 19.92 kB / 435.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.2254, allocations: 23.97 kB / 435.8 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.2254, allocations: 4.125 kB / 435.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.2255, allocations: 151.5 kB / 435.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2255, allocations: 0 / 435.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004143/0.2259, allocations: 111.9 kB / 436 MB, free: 3.324 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.0001859/0.2261, allocations: 119.2 kB / 436.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.2276, allocations: 0.6631 MB / 436.8 MB, free: 2.523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2276, allocations: 0 / 436.8 MB, free: 2.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.2287, allocations: 458.4 kB / 437.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.229, allocations: 26.69 kB / 437.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.2297, allocations: 0.4944 MB / 437.8 MB, free: 1.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.2298, allocations: 0.7446 MB / 438.5 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.23, allocations: 33.91 kB / 438.6 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.23, allocations: 19.44 kB / 438.6 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.23, allocations: 4 kB / 438.6 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of Templates: time 0.009729/0.2398, allocations: 6.315 MB / 444.9 MB, free: 10.4 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)