Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009785/0.0009787, allocations: 177.7 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.333/1.333, allocations: 223.2 MB / 239.7 MB, free: 1.785 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.0008818/0.0008819, allocations: 98.23 kB / 290.9 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04692/0.04692, allocations: 8.101 MB / 350.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 9.281 kB / 413.1 MB, free: 89.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1159, allocations: 52.54 MB / 465.6 MB, free: 42.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/0.4732, allocations: 79.29 MB / 0.5321 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.4735, allocations: 64.73 kB / 0.5322 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01834/0.4918, allocations: 7.747 MB / 0.5398 GB, free: 31.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.4919, allocations: 0 / 0.5398 GB, free: 31.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4919, allocations: 3.938 kB / 0.5398 GB, free: 31.78 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001274/0.4932, allocations: 0.628 MB / 0.5404 GB, free: 31.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4932, allocations: 7.875 kB / 0.5404 GB, free: 31.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.4933, allocations: 29.19 kB / 0.5404 GB, free: 31.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.4936, allocations: 281.3 kB / 0.5407 GB, free: 31.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.4936, allocations: 12.08 kB / 0.5407 GB, free: 31.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.4937, allocations: 15.56 kB / 0.5407 GB, free: 31.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.494, allocations: 254.8 kB / 0.541 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4941, allocations: 0 / 0.541 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.4941, allocations: 12.25 kB / 0.541 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4941, allocations: 3.938 kB / 0.541 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.4944, allocations: 248 kB / 0.5412 GB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.4958, allocations: 1.204 MB / 0.5424 GB, free: 30.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.4964, allocations: 319 kB / 0.5427 GB, free: 30.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.4965, allocations: 87.02 kB / 0.5428 GB, free: 30.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.4966, allocations: 41.34 kB / 0.5428 GB, free: 30.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.4966, allocations: 0 / 0.5428 GB, free: 30.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.002753/0.4993, allocations: 0.9585 MB / 0.5437 GB, free: 30.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.4994, allocations: 59.22 kB / 0.5438 GB, free: 29.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.4995, allocations: 190.2 kB / 0.544 GB, free: 29.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.4996, allocations: 31.33 kB / 0.544 GB, free: 29.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.4997, allocations: 130.8 kB / 0.5441 GB, free: 29.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.4997, allocations: 80.28 kB / 0.5442 GB, free: 29.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.4997, allocations: 3.5 kB / 0.5442 GB, free: 29.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.4998, allocations: 340.3 kB / 0.5445 GB, free: 29.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.5, allocations: 128.9 kB / 0.5447 GB, free: 29.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.5001, allocations: 134.3 kB / 0.5448 GB, free: 29.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.5003, allocations: 151.9 kB / 0.5449 GB, free: 29.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.5003, allocations: 0 / 0.5449 GB, free: 29.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00124/0.5015, allocations: 0.5844 MB / 0.5455 GB, free: 29.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5016, allocations: 7.656 kB / 0.5455 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5016, allocations: 0 / 0.5455 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.5029, allocations: 299.9 kB / 0.5458 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.503, allocations: 28.62 kB / 0.5458 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/0.5066, allocations: 2.608 MB / 0.5484 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.5068, allocations: 15.59 kB / 0.5484 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.5069, allocations: 9.766 kB / 0.5484 GB, free: 27.95 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 (19): * Single equations (assignments): 18 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.507, allocations: 143.6 kB / 0.5485 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.5071, allocations: 19.44 kB / 0.5486 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.5085, allocations: 0.6219 MB / 0.5492 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5085, allocations: 3.875 kB / 0.5492 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.5086, allocations: 4 kB / 0.5492 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5086, allocations: 9.75 kB / 0.5492 GB, free: 27.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.5089, allocations: 429 kB / 0.5496 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5089, allocations: 0 / 0.5496 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.5091, allocations: 31.03 kB / 0.5496 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.5102, allocations: 290.4 kB / 0.5499 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.5102, allocations: 7.75 kB / 0.5499 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.513, allocations: 2.576 MB / 0.5524 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.513, allocations: 0.5469 kB / 0.5524 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.5144, allocations: 0.6864 MB / 0.5531 GB, free: 26.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.5144, allocations: 105.3 kB / 0.5532 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.5145, allocations: 3.875 kB / 0.5532 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.5147, allocations: 11.06 kB / 0.5532 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.5148, allocations: 24.83 kB / 0.5532 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5148, allocations: 5.766 kB / 0.5532 GB, free: 25.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.5149, allocations: 154.2 kB / 0.5534 GB, free: 25.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.71e-07/0.5149, allocations: 7.875 kB / 0.5534 GB, free: 25.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004542/0.5154, allocations: 110.7 kB / 0.5535 GB, free: 25.8 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 (20): * Single equations (assignments): 19 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002129/0.5156, allocations: 119.1 kB / 0.5536 GB, free: 25.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009056/0.5165, allocations: 0.4982 MB / 0.5541 GB, free: 25.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5165, allocations: 0 / 0.5541 GB, free: 25.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.5171, allocations: 360.7 kB / 0.5544 GB, free: 25.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.5173, allocations: 22.61 kB / 0.5545 GB, free: 25.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007178/0.5181, allocations: 0.5304 MB / 0.555 GB, free: 25.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.5184, allocations: 0.7451 MB / 0.5557 GB, free: 24.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.5185, allocations: 30.62 kB / 0.5557 GB, free: 24.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.5185, allocations: 25.98 kB / 0.5558 GB, free: 24.45 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5185, allocations: 3.812 kB / 0.5558 GB, free: 24.45 MB / 378.7 MB Notification: Performance of Templates: time 0.009759/0.5283, allocations: 5.856 MB / 0.5615 GB, free: 24.07 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)