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.001368/0.001368, allocations: 103.9 kB / 16.56 MB, free: 6.723 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.001506/0.001506, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.31/1.31, allocations: 222.9 MB / 241.2 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04541/0.04541, allocations: 8.094 MB / 299.4 MB, free: 6.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.05 kB / 361.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1997, allocations: 51.51 MB / 413.2 MB, free: 25.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001911/0.2017, allocations: 0.9789 MB / 414.2 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009883/0.2027, allocations: 1.162 MB / 415.3 MB, free: 23.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.2027, allocations: 4 kB / 415.3 MB, free: 23.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.2029, allocations: 55.77 kB / 415.4 MB, free: 23.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.2031, allocations: 15.91 kB / 415.4 MB, free: 23.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.201e-05/0.2031, allocations: 31.91 kB / 415.4 MB, free: 23.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.2032, allocations: 43.8 kB / 415.5 MB, free: 23.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.2033, allocations: 31.97 kB / 415.5 MB, free: 23.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.602e-05/0.2033, allocations: 19.92 kB / 415.5 MB, free: 23.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.2034, allocations: 27.86 kB / 415.6 MB, free: 23.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.2034, allocations: 4 kB / 415.6 MB, free: 23.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.2035, allocations: 59.91 kB / 415.6 MB, free: 23.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.2036, allocations: 15.92 kB / 415.6 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.2036, allocations: 23.88 kB / 415.7 MB, free: 23.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.2037, allocations: 89.73 kB / 415.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2037, allocations: 0 / 415.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.2037, allocations: 0 / 415.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.2037, allocations: 0 / 415.8 MB, free: 23.27 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.0004482/0.2042, allocations: 379.4 kB / 416.1 MB, free: 22.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2042, allocations: 15.97 kB / 416.1 MB, free: 22.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.2043, allocations: 4.844 kB / 416.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.155e-05/0.2044, allocations: 172.3 kB / 416.3 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2044, allocations: 4.375 kB / 416.3 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.2044, allocations: 12.36 kB / 416.3 MB, free: 22.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.2045, allocations: 77.05 kB / 416.4 MB, free: 22.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2045, allocations: 4.125 kB / 416.4 MB, free: 22.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2046, allocations: 7.938 kB / 416.4 MB, free: 22.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.2046, allocations: 4 kB / 416.4 MB, free: 22.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.21e-05/0.2046, allocations: 47.98 kB / 416.5 MB, free: 22.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.205, allocations: 340.5 kB / 416.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.668e-05/0.2051, allocations: 26.58 kB / 416.8 MB, free: 22.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.2051, allocations: 12.84 kB / 416.8 MB, free: 22.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.482e-05/0.2052, allocations: 81.17 kB / 416.9 MB, free: 21.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.2052, allocations: 34.5 kB / 417 MB, free: 21.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.2053, allocations: 4 kB / 417 MB, free: 21.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.2054, allocations: 41.69 kB / 417 MB, free: 21.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.2054, allocations: 55.34 kB / 417.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.2055, allocations: 125.8 kB / 417.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.822e-06/0.2055, allocations: 29.83 kB / 417.2 MB, free: 21.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.2056, allocations: 119.7 kB / 417.3 MB, free: 21.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.2056, allocations: 3.906 kB / 417.3 MB, free: 21.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.2056, allocations: 21.7 kB / 417.3 MB, free: 21.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.2056, allocations: 314.8 kB / 417.7 MB, free: 21.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.2057, allocations: 8 kB / 417.7 MB, free: 21.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.05e-05/0.2057, allocations: 19.92 kB / 417.7 MB, free: 21.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.2057, allocations: 32.8 kB / 417.7 MB, free: 21.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2057, allocations: 4 kB / 417.7 MB, free: 21.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.108e-05/0.2058, allocations: 65.67 kB / 417.8 MB, free: 21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2059, allocations: 4 kB / 417.8 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2059, allocations: 0 / 417.8 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2059, allocations: 0 / 417.8 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.206, allocations: 15.92 kB / 417.8 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.206, allocations: 0 / 417.8 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.206, allocations: 7.906 kB / 417.8 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.206, allocations: 0 / 417.8 MB, free: 20.98 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.969e-05/0.2061, allocations: 121.8 kB / 417.9 MB, free: 20.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.2061, allocations: 0 / 417.9 MB, free: 20.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.2062, allocations: 53.17 kB / 418 MB, free: 20.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2062, allocations: 3.938 kB / 418 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2062, allocations: 4.188 kB / 418 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2062, allocations: 3.938 kB / 418 MB, free: 20.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.2063, allocations: 177.6 kB / 418.2 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2064, allocations: 4 kB / 418.2 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.2064, allocations: 0 / 418.2 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2064, allocations: 0 / 418.2 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.2064, allocations: 8.031 kB / 418.2 MB, free: 20.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2064, allocations: 3.938 kB / 418.2 MB, free: 20.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2064, allocations: 3.938 kB / 418.2 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.932e-05/0.2065, allocations: 131.5 kB / 418.3 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.2065, allocations: 85.02 kB / 418.4 MB, free: 20.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2065, allocations: 0 / 418.4 MB, free: 20.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-05/0.2066, allocations: 7.938 kB / 418.4 MB, free: 20.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.2066, allocations: 4.031 kB / 418.4 MB, free: 20.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.2066, allocations: 0 / 418.4 MB, free: 20.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.415e-05/0.2067, allocations: 95.27 kB / 418.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2067, allocations: 0 / 418.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.2069, allocations: 19.94 kB / 418.5 MB, free: 20.16 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.0001053/0.207, allocations: 99.23 kB / 418.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.221e-05/0.2071, allocations: 27.94 kB / 418.6 MB, free: 20.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2071, allocations: 0 / 418.6 MB, free: 20.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.2071, allocations: 4 kB / 418.6 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.2073, allocations: 4 kB / 418.6 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.2076, allocations: 210.7 kB / 418.9 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.926e-05/0.2077, allocations: 0.6848 MB / 419.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.2077, allocations: 15.42 kB / 419.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2077, allocations: 3.938 kB / 419.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of Templates: time 0.001783/0.2095, allocations: 0.8364 MB / 420.4 MB, free: 18.21 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)