Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.0009686/0.0009686, allocations: 83.34 kB / 20.47 MB, free: 4.105 MB / 18.57 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.001092/0.001092, allocations: 169.3 kB / 23.84 MB, free: 0.7305 MB / 18.57 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.9827/0.9827, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.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.03159/0.03159, allocations: 4.485 MB / 265.2 MB, free: 8.57 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.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 336.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.361e-05, allocations: 2.312 kB / 336.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001345/0.001369, allocations: 0.9449 MB / 337.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00093/0.002298, allocations: 1.205 MB / 338.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.002341, allocations: 4 kB / 338.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.002563, allocations: 63.64 kB / 338.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.002688, allocations: 27.78 kB / 338.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.42e-05/0.002752, allocations: 39.89 kB / 338.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.002818, allocations: 47.73 kB / 338.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.00292, allocations: 31.84 kB / 338.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.002955, allocations: 27.98 kB / 338.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.003024, allocations: 19.91 kB / 338.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.003038, allocations: 8 kB / 338.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.003141, allocations: 71.77 kB / 338.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.003156, allocations: 12 kB / 338.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.003178, allocations: 19.94 kB / 339 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.00334, allocations: 107.6 kB / 339.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003343, allocations: 0 / 339.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003343, allocations: 0 / 339.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.003349, allocations: 3.938 kB / 339.1 MB, free: 10.67 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004381/0.003787, allocations: 412.3 kB / 339.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.003824, allocations: 16.02 kB / 339.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.003868, allocations: 12.89 kB / 339.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.509e-05/0.003943, allocations: 116.5 kB / 339.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.003955, allocations: 12.38 kB / 339.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.003966, allocations: 8.375 kB / 339.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.004067, allocations: 58.23 kB / 339.7 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004075, allocations: 192 / 339.7 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.004085, allocations: 384 / 339.7 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.004093, allocations: 4.312 kB / 339.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.004131, allocations: 27.92 kB / 339.7 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.004464, allocations: 327.5 kB / 340 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.693e-05/0.004511, allocations: 31.06 kB / 340.1 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.004527, allocations: 7.688 kB / 340.1 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.247e-05/0.004609, allocations: 8.047 kB / 340.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.004626, allocations: 41.39 kB / 340.1 MB, free: 9.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.004628, allocations: 0 / 340.1 MB, free: 9.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.00013/0.004758, allocations: 41.64 kB / 340.2 MB, free: 9.434 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.004778, allocations: 55.39 kB / 340.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.084e-05/0.004839, allocations: 177.9 kB / 340.4 MB, free: 9.176 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-06/0.004844, allocations: 33.64 kB / 340.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.004878, allocations: 158.7 kB / 340.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.004883, allocations: 3.953 kB / 340.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.004907, allocations: 23.38 kB / 340.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.004948, allocations: 0.5002 MB / 341.1 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.004961, allocations: 8 kB / 341.1 MB, free: 8.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.004972, allocations: 4 kB / 341.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.005003, allocations: 23.67 kB / 341.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005005, allocations: 0 / 341.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.264e-05/0.005067, allocations: 61.58 kB / 341.2 MB, free: 8.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.005081, allocations: 11.12 kB / 341.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005085, allocations: 0 / 341.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.005098, allocations: 0 / 341.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.005155, allocations: 8 kB / 341.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.00516, allocations: 0 / 341.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.005182, allocations: 0 / 341.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.005189, allocations: 11.98 kB / 341.2 MB, free: 8.297 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 (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.005226, allocations: 156.5 kB / 341.4 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.00524, allocations: 11.95 kB / 341.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.537e-05/0.005315, allocations: 45.25 kB / 341.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005316, allocations: 4.188 kB / 341.5 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.00532, allocations: 4 kB / 341.5 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.005322, allocations: 0 / 341.5 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.307e-05/0.005395, allocations: 124.6 kB / 341.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005396, allocations: 0 / 341.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/0.005409, allocations: 8.031 kB / 341.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005411, allocations: 0 / 341.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.005416, allocations: 0 / 341.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005417, allocations: 0 / 341.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005419, allocations: 0 / 341.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.923e-05/0.005468, allocations: 191.9 kB / 341.8 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.005478, allocations: 7.938 kB / 341.8 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.005489, allocations: 7.984 kB / 341.8 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.711e-05/0.005516, allocations: 0 / 341.8 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.005529, allocations: 3.984 kB / 341.8 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.005532, allocations: 0 / 341.8 MB, free: 7.672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.209e-05/0.005554, allocations: 135.5 kB / 341.9 MB, free: 7.539 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005554, allocations: 0 / 341.9 MB, free: 7.539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.005702, allocations: 27.88 kB / 342 MB, free: 7.512 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001113/0.005813, allocations: 95.28 kB / 342 MB, free: 7.406 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.277e-05/0.005896, allocations: 27.67 kB / 342.1 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.005897, allocations: 0 / 342.1 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-06/0.005905, allocations: 19.62 kB / 342.1 MB, free: 7.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.006054, allocations: 7.938 kB / 342.1 MB, free: 7.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.006533, allocations: 172 kB / 342.3 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.34e-05/0.006556, allocations: 59.34 kB / 342.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.329e-05/0.006579, allocations: 3.906 kB / 342.3 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.006597, allocations: 12.5 kB / 342.3 MB, free: 7.055 MB / 266.7 MB Notification: Performance of SimCode: time 4.7e-07/0.006597, allocations: 0 / 342.3 MB, free: 7.055 MB / 266.7 MB Notification: Performance of Templates: time 0.002252/0.00885, allocations: 0.6697 MB / 343 MB, free: 6.383 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.712566393893212]