Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 105.5 kB / 17.07 MB, free: 5.68 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.00103/0.00103, allocations: 194.9 kB / 18.01 MB, free: 5.02 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.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04785/0.04785, allocations: 8.103 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 363.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2163, allocations: 51.52 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002109/0.2184, allocations: 0.8631 MB / 415.5 MB, free: 24.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2198, allocations: 1.297 MB / 416.8 MB, free: 23.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.2198, allocations: 0 / 416.8 MB, free: 23.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.2201, allocations: 67.7 kB / 416.9 MB, free: 23.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.2202, allocations: 39.77 kB / 416.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.2208, allocations: 342.5 kB / 417.3 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.2209, allocations: 83.58 kB / 417.4 MB, free: 22.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2211, allocations: 23.97 kB / 417.4 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.2211, allocations: 39.86 kB / 417.4 MB, free: 22.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.2213, allocations: 43.83 kB / 417.5 MB, free: 22.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.2213, allocations: 4 kB / 417.5 MB, free: 22.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.2215, allocations: 99.89 kB / 417.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.2215, allocations: 11.92 kB / 417.6 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.2216, allocations: 39.8 kB / 417.6 MB, free: 22.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.2218, allocations: 149.3 kB / 417.8 MB, free: 22.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2218, allocations: 4 kB / 417.8 MB, free: 22.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.2218, allocations: 0 / 417.8 MB, free: 22.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2219, allocations: 0 / 417.8 MB, free: 22.34 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008685/0.2227, allocations: 442.1 kB / 418.2 MB, free: 21.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2228, allocations: 19.83 kB / 418.2 MB, free: 21.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.2228, allocations: 12.78 kB / 418.2 MB, free: 21.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.223, allocations: 184.1 kB / 418.4 MB, free: 21.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.223, allocations: 8.375 kB / 418.4 MB, free: 21.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.2231, allocations: 4.375 kB / 418.4 MB, free: 21.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2232, allocations: 94.22 kB / 418.5 MB, free: 21.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2232, allocations: 4.188 kB / 418.5 MB, free: 21.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2233, allocations: 7.938 kB / 418.5 MB, free: 21.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2233, allocations: 4 kB / 418.5 MB, free: 21.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.909e-05/0.2234, allocations: 67.91 kB / 418.6 MB, free: 21.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.2239, allocations: 380.7 kB / 419 MB, free: 20.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.2242, allocations: 110.7 kB / 419.1 MB, free: 20.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.2242, allocations: 36.8 kB / 419.1 MB, free: 20.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.2243, allocations: 7.984 kB / 419.1 MB, free: 20.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.2243, allocations: 30.56 kB / 419.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.2243, allocations: 0 / 419.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005101/0.2248, allocations: 235.7 kB / 419.4 MB, free: 20.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.2249, allocations: 63.34 kB / 419.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.225, allocations: 138 kB / 419.6 MB, free: 20.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.225, allocations: 25.7 kB / 419.6 MB, free: 20.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.2251, allocations: 107.9 kB / 419.7 MB, free: 20.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.2251, allocations: 19.66 kB / 419.7 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.2251, allocations: 25.7 kB / 419.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.2252, allocations: 322.8 kB / 420.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/0.2252, allocations: 31.98 kB / 420.1 MB, free: 19.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.43e-05/0.2253, allocations: 35.98 kB / 420.1 MB, free: 19.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.055e-05/0.2254, allocations: 68.98 kB / 420.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2254, allocations: 4 kB / 420.2 MB, free: 19.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002384/0.2256, allocations: 138.4 kB / 420.3 MB, free: 19.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2257, allocations: 4 kB / 420.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2257, allocations: 7.938 kB / 420.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.2259, allocations: 40.77 kB / 420.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.226, allocations: 15.98 kB / 420.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008939/0.2269, allocations: 1.441 MB / 421.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/0.227, allocations: 8.031 kB / 421.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.227, allocations: 4 kB / 421.9 MB, free: 17.84 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 (9): * Single equations (assignments): 8 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.491e-05/0.2271, allocations: 117.8 kB / 422 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.2271, allocations: 15.92 kB / 422 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.2274, allocations: 134.8 kB / 422.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2274, allocations: 0 / 422.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.2274, allocations: 0 / 422.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2274, allocations: 3.938 kB / 422.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.2275, allocations: 209.5 kB / 422.3 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2275, allocations: 0 / 422.3 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.2276, allocations: 8 kB / 422.3 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.2277, allocations: 36.83 kB / 422.4 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.2277, allocations: 4 kB / 422.4 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006812/0.2284, allocations: 1.43 MB / 423.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2284, allocations: 0 / 423.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.2287, allocations: 212.3 kB / 424 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.2287, allocations: 85.02 kB / 424.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.2287, allocations: 4.094 kB / 424.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2288, allocations: 11.98 kB / 424.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.2289, allocations: 11.98 kB / 424.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.2289, allocations: 0 / 424.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.284e-05/0.229, allocations: 117.9 kB / 424.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.229, allocations: 0 / 424.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.2292, allocations: 24 kB / 424.3 MB, free: 15.18 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 (6): * Single equations (assignments): 5 * 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,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.0001327/0.2294, allocations: 111.2 kB / 424.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.2297, allocations: 206.5 kB / 424.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.2297, allocations: 0 / 424.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2299, allocations: 151.2 kB / 424.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.2302, allocations: 15.94 kB / 424.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.2306, allocations: 229.4 kB / 425 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.2307, allocations: 0.6885 MB / 425.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.548e-05/0.2308, allocations: 12.67 kB / 425.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.2308, allocations: 15.42 kB / 425.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2308, allocations: 0 / 425.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of Templates: time 0.003548/0.2344, allocations: 1.492 MB / 427.2 MB, free: 12.2 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)