Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 93.42 kB / 16.71 MB, free: 6.645 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.0008152/0.0008154, allocations: 175 kB / 17.62 MB, free: 6.156 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: 223.3 MB / 241.7 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04376/0.04376, allocations: 8.098 MB / 300.9 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003149, allocations: 11.98 kB / 364.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2121, allocations: 52.51 MB / 416.7 MB, free: 24.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.000824/0.213, allocations: 0.5758 MB / 417.2 MB, free: 24.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2142, allocations: 1.275 MB / 418.5 MB, free: 22.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.2142, allocations: 4 kB / 418.5 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.2145, allocations: 55.75 kB / 418.6 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.2146, allocations: 35.84 kB / 418.6 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.2151, allocations: 339.8 kB / 418.9 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.716e-05/0.2152, allocations: 71.61 kB / 419 MB, free: 22.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.2153, allocations: 23.95 kB / 419 MB, free: 22.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.481e-05/0.2154, allocations: 23.94 kB / 419 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2155, allocations: 39.83 kB / 419.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.2155, allocations: 0 / 419.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.2157, allocations: 99.89 kB / 419.2 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.2157, allocations: 11.92 kB / 419.2 MB, free: 22.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.2158, allocations: 65.44 kB / 419.3 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.2159, allocations: 109.7 kB / 419.4 MB, free: 22.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2159, allocations: 0 / 419.4 MB, free: 22.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2159, allocations: 0 / 419.4 MB, free: 22.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.2159, allocations: 0 / 419.4 MB, free: 22.1 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007089/0.2167, allocations: 415.2 kB / 419.8 MB, free: 21.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2167, allocations: 15.97 kB / 419.8 MB, free: 21.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.2167, allocations: 12.84 kB / 419.8 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2169, allocations: 184.1 kB / 420 MB, free: 21.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2169, allocations: 8.375 kB / 420 MB, free: 21.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.2169, allocations: 12.31 kB / 420 MB, free: 21.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.2171, allocations: 93.72 kB / 420.1 MB, free: 21.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.2171, allocations: 192 / 420.1 MB, free: 21.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2171, allocations: 7.938 kB / 420.1 MB, free: 21.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2171, allocations: 0 / 420.1 MB, free: 21.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.2172, allocations: 75.91 kB / 420.2 MB, free: 21.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.2177, allocations: 384.7 kB / 420.6 MB, free: 20.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.218, allocations: 110.6 kB / 420.7 MB, free: 20.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.218, allocations: 28.84 kB / 420.7 MB, free: 20.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.2181, allocations: 8 kB / 420.7 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2181, allocations: 30.56 kB / 420.7 MB, free: 20.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2181, allocations: 0 / 420.7 MB, free: 20.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005156/0.2186, allocations: 243.6 kB / 421 MB, free: 20.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.2187, allocations: 51.41 kB / 421 MB, free: 20.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2188, allocations: 142 kB / 421.2 MB, free: 20.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.2188, allocations: 25.7 kB / 421.2 MB, free: 20.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.2188, allocations: 104 kB / 421.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.2189, allocations: 31.55 kB / 421.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.2189, allocations: 13.72 kB / 421.3 MB, free: 19.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.138e-05/0.2189, allocations: 318.8 kB / 421.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.665e-05/0.219, allocations: 35.92 kB / 421.7 MB, free: 19.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.066e-05/0.219, allocations: 31.98 kB / 421.7 MB, free: 19.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.915e-05/0.2191, allocations: 72.84 kB / 421.8 MB, free: 19.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2191, allocations: 0 / 421.8 MB, free: 19.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002336/0.2194, allocations: 134.5 kB / 421.9 MB, free: 19.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2194, allocations: 15.94 kB / 421.9 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2194, allocations: 3.938 kB / 421.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.2197, allocations: 36.83 kB / 422 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.2197, allocations: 11.98 kB / 422 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008171/0.2206, allocations: 1.343 MB / 423.3 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.89e-05/0.2206, allocations: 7.938 kB / 423.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2207, allocations: 7.984 kB / 423.3 MB, free: 17.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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.2207, allocations: 123.4 kB / 423.4 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.2208, allocations: 7.906 kB / 423.5 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.221, allocations: 130.8 kB / 423.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.221, allocations: 4 kB / 423.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.221, allocations: 7.922 kB / 423.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2211, allocations: 0 / 423.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.2212, allocations: 201.6 kB / 423.8 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2212, allocations: 0 / 423.8 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.2213, allocations: 11.98 kB / 423.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.2214, allocations: 33.12 kB / 423.8 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.2214, allocations: 3.984 kB / 423.8 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006809/0.2221, allocations: 1.335 MB / 425.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2221, allocations: 7.875 kB / 425.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.2223, allocations: 208.2 kB / 425.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.2224, allocations: 85.11 kB / 425.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.2224, allocations: 11.94 kB / 425.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2225, allocations: 11.98 kB / 425.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.2225, allocations: 4 kB / 425.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.2226, allocations: 4 kB / 425.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.459e-05/0.2226, allocations: 111.2 kB / 425.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2226, allocations: 0 / 425.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.2229, allocations: 28 kB / 425.6 MB, free: 15.19 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 (6): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.2231, allocations: 111.2 kB / 425.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.2234, allocations: 194.6 kB / 425.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2234, allocations: 0 / 425.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.2236, allocations: 154.7 kB / 426.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.2239, allocations: 8 kB / 426.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.2243, allocations: 291.7 kB / 426.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2244, allocations: 0.6964 MB / 427.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.2245, allocations: 15.44 kB / 427.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2245, allocations: 0 / 427.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Templates: time 0.002906/0.2274, allocations: 1.798 MB / 428.9 MB, free: 11.86 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)