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.0009679/0.0009679, allocations: 95.59 kB / 16.72 MB, free: 6.617 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.001029/0.00103, allocations: 176.3 kB / 17.62 MB, free: 6.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.301/1.301, allocations: 223.3 MB / 241.7 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04148/0.04148, allocations: 8.101 MB / 300.9 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003052, allocations: 8 kB / 364.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2084, allocations: 52.51 MB / 416.6 MB, free: 24.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.0009891/0.2094, allocations: 0.6425 MB / 417.3 MB, free: 24.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2105, allocations: 1.154 MB / 418.4 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.2106, allocations: 0 / 418.4 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.2108, allocations: 55.83 kB / 418.5 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2109, allocations: 15.91 kB / 418.5 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.047e-05/0.211, allocations: 27.91 kB / 418.5 MB, free: 22.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.41e-05/0.2111, allocations: 47.8 kB / 418.6 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2112, allocations: 27.98 kB / 418.6 MB, free: 22.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.2112, allocations: 19.92 kB / 418.6 MB, free: 22.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.2113, allocations: 19.88 kB / 418.7 MB, free: 22.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2113, allocations: 0 / 418.7 MB, free: 22.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.2114, allocations: 63.89 kB / 418.7 MB, free: 22.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.2115, allocations: 11.94 kB / 418.7 MB, free: 22.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.2115, allocations: 49.56 kB / 418.8 MB, free: 22.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.2116, allocations: 81.73 kB / 418.9 MB, free: 22.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2117, allocations: 0 / 418.9 MB, free: 22.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2117, allocations: 4 kB / 418.9 MB, free: 22.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.2117, allocations: 3.938 kB / 418.9 MB, free: 22.59 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.000454/0.2121, allocations: 370 kB / 419.2 MB, free: 22.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2122, allocations: 11.97 kB / 419.2 MB, free: 22.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.2122, allocations: 8.844 kB / 419.2 MB, free: 22.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.344e-05/0.2123, allocations: 168.3 kB / 419.4 MB, free: 21.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2123, allocations: 4.375 kB / 419.4 MB, free: 21.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.2123, allocations: 12.31 kB / 419.4 MB, free: 21.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2125, allocations: 89.72 kB / 419.5 MB, free: 21.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2125, allocations: 192 / 419.5 MB, free: 21.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2125, allocations: 3.938 kB / 419.5 MB, free: 21.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2125, allocations: 0 / 419.5 MB, free: 21.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/0.2126, allocations: 47.98 kB / 419.6 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.213, allocations: 344.5 kB / 419.9 MB, free: 21.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.2131, allocations: 26.58 kB / 419.9 MB, free: 21.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.2131, allocations: 16.84 kB / 419.9 MB, free: 21.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.662e-05/0.2132, allocations: 81.11 kB / 420 MB, free: 21.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.2132, allocations: 34.56 kB / 420.1 MB, free: 21.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2132, allocations: 0 / 420.1 MB, free: 21.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001469/0.2134, allocations: 45.69 kB / 420.1 MB, free: 21.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.2134, allocations: 55.34 kB / 420.2 MB, free: 21.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.2135, allocations: 122 kB / 420.3 MB, free: 20.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.2135, allocations: 25.7 kB / 420.3 MB, free: 20.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.2135, allocations: 123.7 kB / 420.4 MB, free: 20.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.134e-06/0.2136, allocations: 7.906 kB / 420.4 MB, free: 20.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.2136, allocations: 9.719 kB / 420.4 MB, free: 20.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.2136, allocations: 318.8 kB / 420.8 MB, free: 20.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.2137, allocations: 15.98 kB / 420.8 MB, free: 20.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.2137, allocations: 8 kB / 420.8 MB, free: 20.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.2137, allocations: 32.84 kB / 420.8 MB, free: 20.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2137, allocations: 0 / 420.8 MB, free: 20.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.847e-05/0.2138, allocations: 61.69 kB / 420.9 MB, free: 20.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2138, allocations: 8 kB / 420.9 MB, free: 20.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2139, allocations: 0 / 420.9 MB, free: 20.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2139, allocations: 0 / 420.9 MB, free: 20.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.2139, allocations: 15.88 kB / 420.9 MB, free: 20.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.214, allocations: 0 / 420.9 MB, free: 20.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.214, allocations: 4 kB / 420.9 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.214, allocations: 7.984 kB / 420.9 MB, free: 20.32 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.304e-05/0.2141, allocations: 113.8 kB / 421 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.2141, allocations: 7.906 kB / 421 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.52e-05/0.2142, allocations: 49.17 kB / 421.1 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2142, allocations: 7.875 kB / 421.1 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2142, allocations: 3.938 kB / 421.1 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2142, allocations: 0 / 421.1 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.2143, allocations: 169.7 kB / 421.2 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2144, allocations: 0 / 421.2 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.2144, allocations: 7.938 kB / 421.3 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2144, allocations: 4.031 kB / 421.3 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.2144, allocations: 0 / 421.3 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2144, allocations: 3.938 kB / 421.3 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2144, allocations: 192 / 421.3 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.986e-05/0.2145, allocations: 139.5 kB / 421.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.2145, allocations: 81.02 kB / 421.5 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2145, allocations: 4 kB / 421.5 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/0.2146, allocations: 11.92 kB / 421.5 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.2146, allocations: 4.031 kB / 421.5 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.2146, allocations: 0 / 421.5 MB, free: 19.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.284e-05/0.2147, allocations: 91.28 kB / 421.6 MB, free: 19.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2147, allocations: 0 / 421.6 MB, free: 19.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.2149, allocations: 19.92 kB / 421.6 MB, free: 19.51 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.0001042/0.215, allocations: 103.2 kB / 421.7 MB, free: 19.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.139e-05/0.2151, allocations: 31.92 kB / 421.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2151, allocations: 0 / 421.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.2151, allocations: 4 kB / 421.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.2153, allocations: 4 kB / 421.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.2156, allocations: 208.3 kB / 421.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2157, allocations: 0.6926 MB / 422.6 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.2157, allocations: 7.438 kB / 422.6 MB, free: 18.4 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2157, allocations: 3.938 kB / 422.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of Templates: time 0.001896/0.2176, allocations: 0.8287 MB / 423.5 MB, free: 17.57 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)