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.001355/0.001355, allocations: 111.9 kB / 17.09 MB, free: 5.777 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.001404/0.001405, allocations: 196 kB / 18.02 MB, free: 4.953 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.315/1.315, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05362/0.05362, allocations: 8.096 MB / 300 MB, free: 6.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 67.88 kB / 363.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2401, allocations: 51.51 MB / 414.7 MB, free: 25.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002131/0.2423, allocations: 0.921 MB / 415.6 MB, free: 24.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2434, allocations: 1.174 MB / 416.8 MB, free: 23.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.2435, allocations: 4 kB / 416.8 MB, free: 23.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.2437, allocations: 51.77 kB / 416.8 MB, free: 23.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.2439, allocations: 31.78 kB / 416.9 MB, free: 23.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.734e-05/0.244, allocations: 35.89 kB / 416.9 MB, free: 23.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.715e-05/0.2441, allocations: 51.73 kB / 417 MB, free: 23.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2442, allocations: 27.98 kB / 417 MB, free: 23.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.2442, allocations: 15.94 kB / 417 MB, free: 23.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.2443, allocations: 31.91 kB / 417 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.2443, allocations: 4 kB / 417 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.2444, allocations: 59.91 kB / 417.1 MB, free: 23.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.2445, allocations: 15.94 kB / 417.1 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.2445, allocations: 35.78 kB / 417.1 MB, free: 23.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.2447, allocations: 115.5 kB / 417.3 MB, free: 22.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2447, allocations: 4 kB / 417.3 MB, free: 22.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2447, allocations: 0 / 417.3 MB, free: 22.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2447, allocations: 4 kB / 417.3 MB, free: 22.89 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.0005218/0.2452, allocations: 377.2 kB / 417.6 MB, free: 22.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2453, allocations: 8.031 kB / 417.6 MB, free: 22.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.2453, allocations: 8.844 kB / 417.6 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.084e-05/0.2454, allocations: 164.3 kB / 417.8 MB, free: 22.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.2454, allocations: 8.375 kB / 417.8 MB, free: 22.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2455, allocations: 4.375 kB / 417.8 MB, free: 22.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.2456, allocations: 74.17 kB / 417.9 MB, free: 22.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2456, allocations: 12.12 kB / 417.9 MB, free: 22.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2456, allocations: 11.88 kB / 417.9 MB, free: 22.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2457, allocations: 7.984 kB / 417.9 MB, free: 22.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/0.2457, allocations: 43.98 kB / 418 MB, free: 22.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.2461, allocations: 340.5 kB / 418.3 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.443e-05/0.2462, allocations: 26.58 kB / 418.3 MB, free: 21.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.2462, allocations: 8.859 kB / 418.3 MB, free: 21.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.2463, allocations: 85.16 kB / 418.4 MB, free: 21.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.2464, allocations: 34.56 kB / 418.4 MB, free: 21.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2464, allocations: 4 kB / 418.5 MB, free: 21.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.2465, allocations: 41.64 kB / 418.5 MB, free: 21.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.2466, allocations: 55.34 kB / 418.5 MB, free: 21.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.2466, allocations: 117.8 kB / 418.7 MB, free: 21.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.2467, allocations: 25.83 kB / 418.7 MB, free: 21.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.2467, allocations: 119.8 kB / 418.8 MB, free: 21.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.253e-06/0.2467, allocations: 7.891 kB / 418.8 MB, free: 21.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.2468, allocations: 17.72 kB / 418.8 MB, free: 21.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.2468, allocations: 322.8 kB / 419.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.2468, allocations: 8 kB / 419.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.2469, allocations: 12 kB / 419.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.2469, allocations: 28.84 kB / 419.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2469, allocations: 0 / 419.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.108e-05/0.247, allocations: 69.62 kB / 419.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.247, allocations: 4 kB / 419.3 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.247, allocations: 0 / 419.3 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.247, allocations: 0 / 419.3 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.2471, allocations: 11.94 kB / 419.3 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2471, allocations: 3.984 kB / 419.3 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.2472, allocations: 11.91 kB / 419.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.2472, allocations: 0 / 419.3 MB, free: 20.62 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 6.635e-05/0.2473, allocations: 113.8 kB / 419.4 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.2473, allocations: 4 kB / 419.4 MB, free: 20.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.489e-05/0.2474, allocations: 53.11 kB / 419.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2474, allocations: 3.938 kB / 419.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2474, allocations: 7.938 kB / 419.5 MB, free: 20.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2474, allocations: 0 / 419.5 MB, free: 20.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.2475, allocations: 169.8 kB / 419.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2475, allocations: 8 kB / 419.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.2476, allocations: 0 / 419.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2476, allocations: 0 / 419.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.2476, allocations: 4 kB / 419.6 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2476, allocations: 11.95 kB / 419.7 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2476, allocations: 0 / 419.7 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.537e-05/0.2477, allocations: 139.4 kB / 419.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.2477, allocations: 92.98 kB / 419.9 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.2477, allocations: 0 / 419.9 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.557e-05/0.2478, allocations: 3.938 kB / 419.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.2478, allocations: 0 / 419.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2478, allocations: 8.031 kB / 419.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.677e-05/0.2479, allocations: 95.27 kB / 420 MB, free: 19.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2479, allocations: 0 / 420 MB, free: 19.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.2481, allocations: 15.94 kB / 420 MB, free: 19.8 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.0001174/0.2482, allocations: 103.2 kB / 420.1 MB, free: 19.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.445e-05/0.2483, allocations: 27.98 kB / 420.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2483, allocations: 0 / 420.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.2483, allocations: 7.938 kB / 420.1 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2486, allocations: 8 kB / 420.1 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.2488, allocations: 147.1 kB / 420.3 MB, free: 19.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.2489, allocations: 0.6845 MB / 421 MB, free: 18.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.904e-05/0.249, allocations: 4.062 kB / 421 MB, free: 18.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.249, allocations: 11.44 kB / 421 MB, free: 18.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.249, allocations: 0 / 421 MB, free: 18.75 MB / 302.1 MB Notification: Performance of Templates: time 0.002703/0.2517, allocations: 0.5676 MB / 421.6 MB, free: 18.18 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 cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)