Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 182.3 kB / 15.8 MB, free: 5.984 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.343/1.343, 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.0008566/0.0008566, allocations: 110.4 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.05034/0.05034, allocations: 8.105 MB / 350.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 10.72 kB / 413.1 MB, free: 89.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1055, allocations: 52.53 MB / 465.6 MB, free: 42.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3704/0.4759, allocations: 79.43 MB / 0.5323 GB, free: 16.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.4762, allocations: 65.97 kB / 0.5323 GB, free: 16.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0189/0.4951, allocations: 8.113 MB / 0.5403 GB, free: 31.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4951, allocations: 0 / 0.5403 GB, free: 31.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.4952, allocations: 3.875 kB / 0.5403 GB, free: 31.72 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001324/0.4965, allocations: 0.6039 MB / 0.5408 GB, free: 31.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4965, allocations: 7.875 kB / 0.5409 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.4966, allocations: 31.3 kB / 0.5409 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.4969, allocations: 244.2 kB / 0.5411 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.4969, allocations: 19.44 kB / 0.5411 GB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.4969, allocations: 22.75 kB / 0.5412 GB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.4974, allocations: 294.3 kB / 0.5414 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4974, allocations: 0 / 0.5414 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.4974, allocations: 12.31 kB / 0.5415 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4974, allocations: 7.75 kB / 0.5415 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.4979, allocations: 291.5 kB / 0.5417 GB, free: 31.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.4991, allocations: 0.9404 MB / 0.5427 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.4996, allocations: 367 kB / 0.543 GB, free: 30.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.4997, allocations: 86.27 kB / 0.5431 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.4998, allocations: 38.38 kB / 0.5431 GB, free: 30.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.4998, allocations: 0 / 0.5431 GB, free: 30.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.001051/0.5008, allocations: 0.5107 MB / 0.5436 GB, free: 30.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.5009, allocations: 57.19 kB / 0.5437 GB, free: 30.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.501, allocations: 164.5 kB / 0.5438 GB, free: 30.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.501, allocations: 32.42 kB / 0.5439 GB, free: 30.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.5011, allocations: 145.8 kB / 0.544 GB, free: 29.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.5011, allocations: 90.34 kB / 0.5441 GB, free: 29.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.5012, allocations: 3.812 kB / 0.5441 GB, free: 29.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.5012, allocations: 330 kB / 0.5444 GB, free: 29.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.5014, allocations: 114.7 kB / 0.5445 GB, free: 29.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.5015, allocations: 120.7 kB / 0.5446 GB, free: 29.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.5016, allocations: 123.8 kB / 0.5448 GB, free: 29.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.5017, allocations: 0 / 0.5448 GB, free: 29.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005078/0.5022, allocations: 370 kB / 0.5451 GB, free: 29.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.5022, allocations: 7.688 kB / 0.5451 GB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5022, allocations: 4 kB / 0.5451 GB, free: 29.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.5025, allocations: 53.97 kB / 0.5452 GB, free: 29.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.5027, allocations: 49.84 kB / 0.5452 GB, free: 29.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.5039, allocations: 1.46 MB / 0.5466 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.504, allocations: 15.41 kB / 0.5467 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.5041, allocations: 9.672 kB / 0.5467 GB, free: 28.21 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 (31): * Single equations (assignments): 30 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.5042, allocations: 141.1 kB / 0.5468 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.5042, allocations: 15.59 kB / 0.5468 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005572/0.5048, allocations: 347.9 kB / 0.5471 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5048, allocations: 3.906 kB / 0.5471 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5048, allocations: 0 / 0.5471 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5048, allocations: 5.766 kB / 0.5472 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00091/0.5057, allocations: 0.7698 MB / 0.5479 GB, free: 27.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5058, allocations: 0 / 0.5479 GB, free: 27.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.5059, allocations: 42.36 kB / 0.5479 GB, free: 27.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001797/0.5061, allocations: 50.2 kB / 0.548 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.5061, allocations: 3.438 kB / 0.548 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.5073, allocations: 1.451 MB / 0.5494 GB, free: 26.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5073, allocations: 0 / 0.5494 GB, free: 26.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.5078, allocations: 410.9 kB / 0.5498 GB, free: 26.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.5078, allocations: 98.88 kB / 0.5499 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.5079, allocations: 3.312 kB / 0.5499 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.508, allocations: 3.938 kB / 0.5499 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.5081, allocations: 26.41 kB / 0.5499 GB, free: 26.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.5081, allocations: 3.938 kB / 0.5499 GB, free: 26.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.928e-05/0.5082, allocations: 138.8 kB / 0.5501 GB, free: 26.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5082, allocations: 0 / 0.5501 GB, free: 26.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003246/0.5085, allocations: 80.22 kB / 0.5501 GB, free: 26.05 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 (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001712/0.5087, allocations: 119.9 kB / 0.5503 GB, free: 25.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006452/0.5094, allocations: 404.4 kB / 0.5506 GB, free: 25.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5094, allocations: 0 / 0.5506 GB, free: 25.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.5097, allocations: 249.7 kB / 0.5509 GB, free: 25.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.5099, allocations: 10.95 kB / 0.5509 GB, free: 25.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.5106, allocations: 0.5359 MB / 0.5514 GB, free: 25.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5109, allocations: 0.7515 MB / 0.5522 GB, free: 24.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.511, allocations: 33.48 kB / 0.5522 GB, free: 24.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.5111, allocations: 21.08 kB / 0.5522 GB, free: 24.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5111, allocations: 0 / 0.5522 GB, free: 24.68 MB / 378.7 MB Notification: Performance of Templates: time 0.004978/0.5161, allocations: 2.451 MB / 0.5546 GB, free: 24.5 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)