Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009037/0.0009037, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002137, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007312/0.0007312, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009781/0.001709, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9356/0.9356, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07335/1.009, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02348/0.02348, allocations: 4.478 MB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003743/0.02722, allocations: 2.085 MB / 250.7 MB, free: 8.199 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 252 MB, free: 6.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.608e-05, allocations: 2.312 kB / 252 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001737/0.001753, allocations: 1.161 MB / 253.1 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.002941, allocations: 1.493 MB / 254.6 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.002984, allocations: 4 kB / 254.6 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.003167, allocations: 111.3 kB / 254.7 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.003263, allocations: 67.53 kB / 254.8 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.003885, allocations: 0.5753 MB / 255.4 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.004057, allocations: 139.3 kB / 255.5 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.004143, allocations: 25.95 kB / 255.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.004222, allocations: 95.8 kB / 255.6 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.004285, allocations: 51.81 kB / 255.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.004309, allocations: 12 kB / 255.7 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.004529, allocations: 179.6 kB / 255.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.004551, allocations: 19.94 kB / 255.9 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.004582, allocations: 31.94 kB / 255.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.004826, allocations: 227.2 kB / 256.1 MB, free: 2.738 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.004837, allocations: 4 kB / 256.2 MB, free: 2.734 MB / 250.7 MB Notification: Performance of FrontEnd: time 5e-07/0.004838, allocations: 0 / 256.2 MB, free: 2.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.004846, allocations: 0 / 256.2 MB, free: 2.734 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009315/0.005777, allocations: 0.6296 MB / 256.8 MB, free: 2.059 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.582e-05/0.005803, allocations: 8.031 kB / 256.8 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.005843, allocations: 20.92 kB / 256.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.005967, allocations: 133.6 kB / 256.9 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.005978, allocations: 12.55 kB / 257 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.005996, allocations: 12.38 kB / 257 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.006139, allocations: 131.9 kB / 257.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-06/0.006145, allocations: 192 / 257.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.006156, allocations: 8.375 kB / 257.1 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.006161, allocations: 4.375 kB / 257.1 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.012e-05/0.006221, allocations: 43.91 kB / 257.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.006638, allocations: 341.5 kB / 257.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.006743, allocations: 113.3 kB / 257.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.006779, allocations: 24.83 kB / 257.6 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.006811, allocations: 4 kB / 257.6 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.006829, allocations: 34.56 kB / 257.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.00683, allocations: 0 / 257.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003707/0.007201, allocations: 162.2 kB / 257.8 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.007221, allocations: 51.41 kB / 257.9 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/0.007316, allocations: 175.1 kB / 258 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.00733, allocations: 25.7 kB / 258.1 MB, free: 0.668 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.007375, allocations: 120.4 kB / 258.2 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.007396, allocations: 47.56 kB / 258.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.007466, allocations: 41.69 kB / 258.3 MB, free: 464 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.007529, allocations: 326.8 kB / 258.6 MB, free: 128 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.007565, allocations: 34.67 kB / 258.6 MB, free: 92 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.0076, allocations: 43.17 kB / 258.7 MB, free: 52 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.899e-05/0.007699, allocations: 91.69 kB / 258.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.007701, allocations: 0 / 258.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001802/0.007881, allocations: 152.5 kB / 258.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.007893, allocations: 8 kB / 258.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.007899, allocations: 7.875 kB / 258.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.008022, allocations: 36.75 kB / 258.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.008136, allocations: 47.95 kB / 259 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.00814, allocations: 0 / 259 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.817e-05/0.008208, allocations: 19.84 kB / 259 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.008217, allocations: 4 kB / 259 MB, free: 15.68 MB / 266.7 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.023e-05/0.008277, allocations: 113.8 kB / 259.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.008308, allocations: 19.97 kB / 259.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.008501, allocations: 131.4 kB / 259.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.008504, allocations: 8 kB / 259.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.008506, allocations: 0 / 259.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008509, allocations: 0 / 259.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.008635, allocations: 129.7 kB / 259.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008636, allocations: 0 / 259.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.008688, allocations: 19.98 kB / 259.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.008703, allocations: 11.94 kB / 259.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.189e-05/0.008785, allocations: 36.75 kB / 259.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.00879, allocations: 0 / 259.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.008792, allocations: 8 kB / 259.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.008792, allocations: 0 / 259.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.008957, allocations: 246.9 kB / 259.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.00897, allocations: 0 / 259.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.009025, allocations: 4 kB / 259.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.009041, allocations: 7.984 kB / 259.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.009047, allocations: 4 kB / 259.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.718e-05/0.009104, allocations: 43.64 kB / 259.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009104, allocations: 0 / 259.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.00926, allocations: 43.95 kB / 259.8 MB, free: 14.8 MB / 266.7 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001123/0.009372, allocations: 96.34 kB / 259.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.009627, allocations: 164.9 kB / 260.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.009631, allocations: 0 / 260.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.009789, allocations: 110.1 kB / 260.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.009918, allocations: 31.92 kB / 260.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.01235, allocations: 286.7 kB / 260.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.21e-05/0.01239, allocations: 63.34 kB / 260.6 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.908e-05/0.01244, allocations: 24.61 kB / 260.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.01255, allocations: 67.36 kB / 260.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01255, allocations: 0 / 260.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Templates: time 0.01766/0.03021, allocations: 2.167 MB / 262.8 MB, free: 11.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.289896860718727]