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.001063/0.001063, allocations: 107.3 kB / 16.68 MB, free: 6.332 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.001061/0.001061, allocations: 189.5 kB / 17.61 MB, free: 5.754 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.343/1.343, allocations: 222.9 MB / 241.3 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04499/0.04499, allocations: 8.099 MB / 299.5 MB, free: 6.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 361.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1998, allocations: 51.52 MB / 413.4 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001945/0.2018, allocations: 0.9822 MB / 414.4 MB, free: 24.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.2029, allocations: 1.154 MB / 415.5 MB, free: 23.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.2029, allocations: 7.938 kB / 415.5 MB, free: 23.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.2032, allocations: 47.83 kB / 415.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.2033, allocations: 27.84 kB / 415.6 MB, free: 23.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.958e-05/0.2034, allocations: 31.97 kB / 415.6 MB, free: 23.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.322e-05/0.2035, allocations: 47.8 kB / 415.7 MB, free: 23.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2036, allocations: 23.98 kB / 415.7 MB, free: 23.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.2036, allocations: 27.81 kB / 415.7 MB, free: 23.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.2037, allocations: 27.91 kB / 415.8 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2037, allocations: 4 kB / 415.8 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2038, allocations: 63.92 kB / 415.8 MB, free: 23.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.2038, allocations: 15.92 kB / 415.8 MB, free: 23.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.2039, allocations: 27.86 kB / 415.9 MB, free: 23.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.204, allocations: 77.81 kB / 415.9 MB, free: 23.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.204, allocations: 4 kB / 416 MB, free: 23.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.204, allocations: 0 / 416 MB, free: 23.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.204, allocations: 3.938 kB / 416 MB, free: 23.2 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.0004364/0.2045, allocations: 379.4 kB / 416.3 MB, free: 22.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2045, allocations: 11.89 kB / 416.3 MB, free: 22.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.2045, allocations: 8.844 kB / 416.3 MB, free: 22.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.969e-05/0.2046, allocations: 176.3 kB / 416.5 MB, free: 22.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.2046, allocations: 4.375 kB / 416.5 MB, free: 22.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.2046, allocations: 8.375 kB / 416.5 MB, free: 22.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.2048, allocations: 77.03 kB / 416.6 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2048, allocations: 4.188 kB / 416.6 MB, free: 22.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2048, allocations: 3.938 kB / 416.6 MB, free: 22.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.2048, allocations: 0 / 416.6 MB, free: 22.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.2049, allocations: 47.92 kB / 416.7 MB, free: 22.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.2053, allocations: 356.5 kB / 417 MB, free: 22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.36e-05/0.2053, allocations: 22.58 kB / 417 MB, free: 21.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.2053, allocations: 8.922 kB / 417 MB, free: 21.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.351e-05/0.2054, allocations: 85.09 kB / 417.1 MB, free: 21.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.038e-05/0.2054, allocations: 30.56 kB / 417.2 MB, free: 21.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2055, allocations: 4 kB / 417.2 MB, free: 21.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001295/0.2056, allocations: 41.64 kB / 417.2 MB, free: 21.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.2056, allocations: 63.33 kB / 417.3 MB, free: 21.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.2057, allocations: 117.8 kB / 417.4 MB, free: 21.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.2057, allocations: 25.7 kB / 417.4 MB, free: 21.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.2057, allocations: 115.8 kB / 417.5 MB, free: 21.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.2058, allocations: 3.906 kB / 417.5 MB, free: 21.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.2058, allocations: 21.72 kB / 417.5 MB, free: 21.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.655e-05/0.2058, allocations: 319 kB / 417.8 MB, free: 21.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.2059, allocations: 11.94 kB / 417.9 MB, free: 21.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.2059, allocations: 15.98 kB / 417.9 MB, free: 21.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.2059, allocations: 32.98 kB / 417.9 MB, free: 21.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2059, allocations: 0 / 417.9 MB, free: 21.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.273e-05/0.206, allocations: 65.62 kB / 418 MB, free: 20.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.206, allocations: 6.188 kB / 418 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2061, allocations: 4.312 kB / 418 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2061, allocations: 0 / 418 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.2061, allocations: 15.92 kB / 418 MB, free: 20.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2062, allocations: 4 kB / 418 MB, free: 20.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.2062, allocations: 3.906 kB / 418 MB, free: 20.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.2062, allocations: 3.984 kB / 418 MB, free: 20.9 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 4.801e-05/0.2063, allocations: 113.8 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.2063, allocations: 3.938 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.339e-05/0.2064, allocations: 57.11 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2064, allocations: 3.938 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2064, allocations: 4.031 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2064, allocations: 0 / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.2065, allocations: 173.7 kB / 418.4 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2066, allocations: 0 / 418.4 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.2066, allocations: 7.984 kB / 418.4 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2066, allocations: 0 / 418.4 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.2066, allocations: 0 / 418.4 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2066, allocations: 3.938 kB / 418.4 MB, free: 20.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2066, allocations: 0 / 418.4 MB, free: 20.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.819e-05/0.2067, allocations: 135.6 kB / 418.5 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.2067, allocations: 85 kB / 418.6 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.2067, allocations: 3.938 kB / 418.6 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.2068, allocations: 8 kB / 418.6 MB, free: 20.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.2068, allocations: 8 kB / 418.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.2068, allocations: 0 / 418.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.2069, allocations: 91.27 kB / 418.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2069, allocations: 0 / 418.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.2071, allocations: 19.94 kB / 418.7 MB, free: 20.09 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.0001125/0.2073, allocations: 103.3 kB / 418.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.207e-05/0.2074, allocations: 27.98 kB / 418.8 MB, free: 19.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2074, allocations: 0 / 418.8 MB, free: 19.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.2074, allocations: 7.938 kB / 418.8 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.2076, allocations: 0 / 418.8 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.2079, allocations: 208.9 kB / 419.1 MB, free: 19.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.616e-05/0.208, allocations: 0.6922 MB / 419.7 MB, free: 18.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.208, allocations: 11.42 kB / 419.8 MB, free: 18.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.208, allocations: 0 / 419.8 MB, free: 18.98 MB / 302.1 MB Notification: Performance of Templates: time 0.002051/0.2101, allocations: 0.844 MB / 420.6 MB, free: 18.14 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)