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.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.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 107.9 kB / 17.07 MB, free: 6.062 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.001047/0.001047, allocations: 194.9 kB / 18.01 MB, free: 5.152 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.04986/0.04986, allocations: 8.108 MB / 300 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 363.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2054, allocations: 51.51 MB / 414.7 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001937/0.2073, allocations: 0.9288 MB / 415.6 MB, free: 24.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2085, allocations: 1.166 MB / 416.8 MB, free: 23.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.2085, allocations: 4 kB / 416.8 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.2088, allocations: 63.69 kB / 416.8 MB, free: 23.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.2089, allocations: 27.84 kB / 416.9 MB, free: 23.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.848e-05/0.209, allocations: 31.86 kB / 416.9 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.2091, allocations: 51.77 kB / 416.9 MB, free: 23.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2092, allocations: 27.98 kB / 417 MB, free: 23.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.675e-05/0.2092, allocations: 23.92 kB / 417 MB, free: 23.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.2093, allocations: 31.84 kB / 417 MB, free: 23.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2093, allocations: 4 kB / 417 MB, free: 23.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.2094, allocations: 63.92 kB / 417.1 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.2095, allocations: 15.92 kB / 417.1 MB, free: 23.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.2095, allocations: 23.88 kB / 417.1 MB, free: 23.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2097, allocations: 117.5 kB / 417.2 MB, free: 23.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2097, allocations: 0 / 417.2 MB, free: 23.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2097, allocations: 0 / 417.2 MB, free: 23.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.2097, allocations: 0 / 417.2 MB, free: 23.03 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004533/0.2102, allocations: 375.4 kB / 417.6 MB, free: 22.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.2102, allocations: 11.89 kB / 417.6 MB, free: 22.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.2102, allocations: 12.84 kB / 417.6 MB, free: 22.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.2103, allocations: 176.2 kB / 417.8 MB, free: 22.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.2103, allocations: 4.375 kB / 417.8 MB, free: 22.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.2103, allocations: 8.375 kB / 417.8 MB, free: 22.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.2105, allocations: 74.23 kB / 417.9 MB, free: 22.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2105, allocations: 192 / 417.9 MB, free: 22.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2105, allocations: 7.938 kB / 417.9 MB, free: 22.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.2105, allocations: 0 / 417.9 MB, free: 22.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.896e-05/0.2106, allocations: 43.98 kB / 417.9 MB, free: 22.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.211, allocations: 344.5 kB / 418.3 MB, free: 21.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/0.211, allocations: 30.56 kB / 418.3 MB, free: 21.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.2111, allocations: 8.797 kB / 418.3 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.419e-05/0.2112, allocations: 81.17 kB / 418.4 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.2112, allocations: 38.5 kB / 418.4 MB, free: 21.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2112, allocations: 0 / 418.4 MB, free: 21.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001479/0.2113, allocations: 45.69 kB / 418.5 MB, free: 21.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.2114, allocations: 55.34 kB / 418.5 MB, free: 21.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.2115, allocations: 125.8 kB / 418.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.2115, allocations: 25.7 kB / 418.7 MB, free: 21.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.2115, allocations: 115.8 kB / 418.8 MB, free: 21.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-06/0.2115, allocations: 3.906 kB / 418.8 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.2116, allocations: 21.7 kB / 418.8 MB, free: 21.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.2116, allocations: 319 kB / 419.1 MB, free: 20.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.2116, allocations: 11.94 kB / 419.1 MB, free: 20.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.2117, allocations: 19.98 kB / 419.2 MB, free: 20.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.079e-05/0.2117, allocations: 24.86 kB / 419.2 MB, free: 20.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2117, allocations: 0 / 419.2 MB, free: 20.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.255e-05/0.2118, allocations: 61.69 kB / 419.3 MB, free: 20.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.2118, allocations: 4 kB / 419.3 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.2118, allocations: 0 / 419.3 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2118, allocations: 7.984 kB / 419.3 MB, free: 20.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.2119, allocations: 7.938 kB / 419.3 MB, free: 20.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2119, allocations: 7.938 kB / 419.3 MB, free: 20.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.212, allocations: 7.906 kB / 419.3 MB, free: 20.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.212, allocations: 0 / 419.3 MB, free: 20.75 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 (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 5.137e-05/0.212, allocations: 113.8 kB / 419.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2121, allocations: 192 / 419.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.98e-05/0.2122, allocations: 57.17 kB / 419.5 MB, free: 20.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2122, allocations: 11.92 kB / 419.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2122, allocations: 0 / 419.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2122, allocations: 0 / 419.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2123, allocations: 177.7 kB / 419.6 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2123, allocations: 0 / 419.6 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.2124, allocations: 0 / 419.6 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2124, allocations: 4 kB / 419.6 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.2124, allocations: 3.938 kB / 419.6 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2124, allocations: 3.938 kB / 419.6 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2124, allocations: 0 / 419.6 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.901e-05/0.2125, allocations: 135.5 kB / 419.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.2125, allocations: 92.95 kB / 419.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2125, allocations: 0 / 419.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.2126, allocations: 3.938 kB / 419.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.2126, allocations: 0 / 419.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.2126, allocations: 4 kB / 419.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.2126, allocations: 91.27 kB / 420 MB, free: 19.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2126, allocations: 0 / 420 MB, free: 19.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000235/0.2129, allocations: 19.94 kB / 420 MB, free: 19.94 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 (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.0001163/0.213, allocations: 111.2 kB / 420.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.909e-05/0.2131, allocations: 27.94 kB / 420.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2131, allocations: 3.938 kB / 420.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.2131, allocations: 11.98 kB / 420.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2133, allocations: 2.5 kB / 420.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.2136, allocations: 151.2 kB / 420.3 MB, free: 19.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.2137, allocations: 0.6884 MB / 421 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.767e-05/0.2137, allocations: 4 kB / 421 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.2138, allocations: 7.438 kB / 421 MB, free: 18.88 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2138, allocations: 3.938 kB / 421 MB, free: 18.87 MB / 302.1 MB Notification: Performance of Templates: time 0.00248/0.2163, allocations: 0.5521 MB / 421.5 MB, free: 18.32 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile (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=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)