Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009067/0.0009069, allocations: 173 kB / 16.8 MB, free: 5.023 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.285/1.285, allocations: 223.3 MB / 240.8 MB, free: 11.73 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008193/0.0008193, allocations: 97.23 kB / 292 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04147/0.04147, allocations: 8.096 MB / 351.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 16 kB / 414.4 MB, free: 57.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0783/0.07864, allocations: 52.52 MB / 466.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3018/0.3805, allocations: 79.4 MB / 0.5335 GB, free: 6.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.3808, allocations: 65.16 kB / 0.5335 GB, free: 6.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0188/0.3996, allocations: 7.714 MB / 0.5411 GB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3996, allocations: 0 / 0.5411 GB, free: 15.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3996, allocations: 4 kB / 0.5411 GB, free: 15.82 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001221/0.4009, allocations: 0.5549 MB / 0.5416 GB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4009, allocations: 8.031 kB / 0.5416 GB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.401, allocations: 28.66 kB / 0.5417 GB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.4012, allocations: 215.4 kB / 0.5419 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.4013, allocations: 15.44 kB / 0.5419 GB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.4013, allocations: 26.38 kB / 0.5419 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.4017, allocations: 292.6 kB / 0.5422 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4018, allocations: 192 / 0.5422 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.4018, allocations: 11.59 kB / 0.5422 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.4018, allocations: 8 kB / 0.5422 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.4022, allocations: 240.2 kB / 0.5424 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.4036, allocations: 0.9963 MB / 0.5434 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.4044, allocations: 439.7 kB / 0.5438 GB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.4045, allocations: 84.14 kB / 0.5439 GB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.026e-05/0.4046, allocations: 6.312 kB / 0.5439 GB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.4046, allocations: 41.67 kB / 0.5439 GB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.4046, allocations: 0 / 0.5439 GB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.00104/0.4057, allocations: 0.4959 MB / 0.5444 GB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4057, allocations: 85.05 kB / 0.5445 GB, free: 12.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.406, allocations: 198 kB / 0.5447 GB, free: 12.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.406, allocations: 33.02 kB / 0.5447 GB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.4061, allocations: 146.9 kB / 0.5449 GB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.4062, allocations: 81.75 kB / 0.545 GB, free: 12.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.4062, allocations: 2.5 kB / 0.545 GB, free: 12.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4063, allocations: 329.9 kB / 0.5453 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.4064, allocations: 87.59 kB / 0.5454 GB, free: 11.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.4066, allocations: 119.8 kB / 0.5455 GB, free: 11.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.4069, allocations: 209.1 kB / 0.5457 GB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4069, allocations: 0 / 0.5457 GB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005539/0.4074, allocations: 320.8 kB / 0.546 GB, free: 11.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4075, allocations: 8 kB / 0.546 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.4075, allocations: 0 / 0.546 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.4079, allocations: 78.91 kB / 0.5461 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.4081, allocations: 39.97 kB / 0.5461 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.4101, allocations: 2.674 MB / 0.5487 GB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.4103, allocations: 19.69 kB / 0.5487 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.4103, allocations: 8 kB / 0.5487 GB, free: 8.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.4105, allocations: 147.7 kB / 0.5489 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.4105, allocations: 23.84 kB / 0.5489 GB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005357/0.4111, allocations: 266.5 kB / 0.5491 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4111, allocations: 4 kB / 0.5492 GB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4111, allocations: 0 / 0.5492 GB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4111, allocations: 3.938 kB / 0.5492 GB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.4121, allocations: 0.7407 MB / 0.5499 GB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4121, allocations: 8 kB / 0.5499 GB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.4122, allocations: 23.98 kB / 0.5499 GB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000261/0.4125, allocations: 73.66 kB / 0.55 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.4125, allocations: 7.984 kB / 0.55 GB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.4145, allocations: 2.666 MB / 0.5526 GB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4146, allocations: 0 / 0.5526 GB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.4151, allocations: 408.2 kB / 0.553 GB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.4152, allocations: 108.9 kB / 0.5531 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.4152, allocations: 8 kB / 0.5531 GB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.4154, allocations: 12.17 kB / 0.5531 GB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.4155, allocations: 19.92 kB / 0.5531 GB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.4155, allocations: 11.94 kB / 0.5531 GB, free: 3.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001768/0.4157, allocations: 156.7 kB / 0.5533 GB, free: 3.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4157, allocations: 0 / 0.5533 GB, free: 3.648 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003993/0.4161, allocations: 79.84 kB / 0.5534 GB, free: 3.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.4163, allocations: 107.2 kB / 0.5535 GB, free: 3.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006669/0.4169, allocations: 443.5 kB / 0.5539 GB, free: 3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.4169, allocations: 7.984 kB / 0.5539 GB, free: 2.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.4173, allocations: 329.3 kB / 0.5542 GB, free: 2.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.4178, allocations: 28.05 kB / 0.5542 GB, free: 2.617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.4186, allocations: 0.4942 MB / 0.5547 GB, free: 2.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.4189, allocations: 0.744 MB / 0.5554 GB, free: 1.324 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.419, allocations: 25.53 kB / 0.5555 GB, free: 1.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.4191, allocations: 23.42 kB / 0.5555 GB, free: 1.273 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4191, allocations: 0 / 0.5555 GB, free: 1.273 MB / 362.7 MB Notification: Performance of Templates: time 0.006134/0.4252, allocations: 2.821 MB / 0.5582 GB, free: 14.46 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)