Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 179.8 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.2 MB / 239.7 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009146, allocations: 97.11 kB / 290.9 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05323/0.05323, allocations: 8.108 MB / 350.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 8.703 kB / 413.1 MB, free: 89.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1214, allocations: 52.52 MB / 465.6 MB, free: 42.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.348/0.4695, allocations: 79.28 MB / 0.5321 GB, free: 16.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.4698, allocations: 67.75 kB / 0.5322 GB, free: 16.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0142/0.484, allocations: 5.817 MB / 0.5379 GB, free: 31.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.484, allocations: 3.938 kB / 0.5379 GB, free: 31.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.855e-05/0.484, allocations: 3.812 kB / 0.5379 GB, free: 31.98 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001173/0.4852, allocations: 0.5247 MB / 0.5384 GB, free: 31.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4853, allocations: 11.62 kB / 0.5384 GB, free: 31.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.4854, allocations: 19.52 kB / 0.5384 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.4856, allocations: 215.1 kB / 0.5386 GB, free: 31.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.4857, allocations: 11.77 kB / 0.5386 GB, free: 31.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.4857, allocations: 7.25 kB / 0.5386 GB, free: 31.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.486, allocations: 180 kB / 0.5388 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.486, allocations: 0 / 0.5388 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.486, allocations: 7.625 kB / 0.5388 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.486, allocations: 3.875 kB / 0.5388 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.4863, allocations: 160.2 kB / 0.539 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.4874, allocations: 0.7589 MB / 0.5397 GB, free: 30.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.4879, allocations: 199.7 kB / 0.5399 GB, free: 30.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.4881, allocations: 82.81 kB / 0.54 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.4881, allocations: 42.38 kB / 0.54 GB, free: 30.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.4881, allocations: 0 / 0.54 GB, free: 30.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001551/0.4897, allocations: 0.5617 MB / 0.5406 GB, free: 30.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.4897, allocations: 61.05 kB / 0.5406 GB, free: 30.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.4899, allocations: 157.9 kB / 0.5408 GB, free: 30.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4899, allocations: 25.7 kB / 0.5408 GB, free: 30.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.4899, allocations: 123.7 kB / 0.5409 GB, free: 30.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.49, allocations: 46.77 kB / 0.541 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.49, allocations: 3.688 kB / 0.541 GB, free: 30.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.427e-05/0.4901, allocations: 326.8 kB / 0.5413 GB, free: 29.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.4902, allocations: 83.92 kB / 0.5414 GB, free: 29.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.4903, allocations: 83.81 kB / 0.5414 GB, free: 29.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.4904, allocations: 89.77 kB / 0.5415 GB, free: 29.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4904, allocations: 3.844 kB / 0.5415 GB, free: 29.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007445/0.4912, allocations: 353 kB / 0.5419 GB, free: 29.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4912, allocations: 10.19 kB / 0.5419 GB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4912, allocations: 0 / 0.5419 GB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006808/0.4919, allocations: 138.8 kB / 0.542 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.492, allocations: 23.36 kB / 0.542 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.4941, allocations: 1.92 MB / 0.5439 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.4943, allocations: 21.72 kB / 0.5439 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.4943, allocations: 3.938 kB / 0.5439 GB, free: 28.54 MB / 378.7 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.4945, allocations: 135.9 kB / 0.5441 GB, free: 28.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.4945, allocations: 11.78 kB / 0.5441 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/0.4953, allocations: 367.7 kB / 0.5444 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4953, allocations: 3.938 kB / 0.5444 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4953, allocations: 0 / 0.5444 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4953, allocations: 0 / 0.5444 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.4956, allocations: 320.5 kB / 0.5447 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4956, allocations: 0 / 0.5447 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.4957, allocations: 27.59 kB / 0.5448 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005466/0.4963, allocations: 139.7 kB / 0.5449 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.4963, allocations: 3.375 kB / 0.5449 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.4982, allocations: 1.905 MB / 0.5467 GB, free: 26.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4982, allocations: 0 / 0.5467 GB, free: 26.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/0.499, allocations: 439.2 kB / 0.5472 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.499, allocations: 90.98 kB / 0.5473 GB, free: 26.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.4991, allocations: 7.562 kB / 0.5473 GB, free: 26.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.4992, allocations: 9.516 kB / 0.5473 GB, free: 26.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.4993, allocations: 15.91 kB / 0.5473 GB, free: 26.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.4993, allocations: 9.75 kB / 0.5473 GB, free: 26.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.4994, allocations: 139.1 kB / 0.5474 GB, free: 26.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4994, allocations: 0 / 0.5474 GB, free: 26.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.4998, allocations: 62.09 kB / 0.5475 GB, free: 26.49 MB / 378.7 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001768/0.5, allocations: 119.5 kB / 0.5476 GB, free: 26.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006226/0.5006, allocations: 352.8 kB / 0.5479 GB, free: 26.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5007, allocations: 0 / 0.5479 GB, free: 26.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.501, allocations: 269.7 kB / 0.5482 GB, free: 26.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.5013, allocations: 20.84 kB / 0.5482 GB, free: 26.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.5018, allocations: 407.7 kB / 0.5486 GB, free: 25.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.5021, allocations: 0.7225 MB / 0.5493 GB, free: 25.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.326e-05/0.5022, allocations: 20.52 kB / 0.5493 GB, free: 25.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.5023, allocations: 17.14 kB / 0.5493 GB, free: 25.2 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5023, allocations: 0 / 0.5493 GB, free: 25.2 MB / 378.7 MB Notification: Performance of Templates: time 0.006575/0.5089, allocations: 3.59 MB / 0.5529 GB, free: 24.97 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)