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.001318/0.001318, allocations: 172.5 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.406/1.406, allocations: 223.3 MB / 240.8 MB, free: 9.996 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.0008225/0.0008227, allocations: 105.5 kB / 292 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0383/0.0383, allocations: 8.093 MB / 351.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003688, allocations: 16.83 kB / 414.4 MB, free: 57.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.08763, allocations: 52.5 MB / 466.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2911/0.3788, allocations: 79.47 MB / 0.5335 GB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.3791, allocations: 66.84 kB / 0.5336 GB, free: 6.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0203/0.3994, allocations: 8.094 MB / 0.5415 GB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3994, allocations: 0 / 0.5415 GB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.3994, allocations: 4 kB / 0.5415 GB, free: 15.52 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001437/0.4009, allocations: 0.6069 MB / 0.5421 GB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4009, allocations: 8.906 kB / 0.5421 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.401, allocations: 28.66 kB / 0.5421 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.4013, allocations: 248.8 kB / 0.5424 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.4014, allocations: 20 kB / 0.5424 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.4014, allocations: 26.75 kB / 0.5424 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/0.4022, allocations: 291.9 kB / 0.5427 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4023, allocations: 4.188 kB / 0.5427 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.4023, allocations: 14.88 kB / 0.5427 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.4023, allocations: 7.938 kB / 0.5427 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.403, allocations: 290.6 kB / 0.543 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.4053, allocations: 0.9321 MB / 0.5439 GB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008285/0.4062, allocations: 367 kB / 0.5443 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.4065, allocations: 127.5 kB / 0.5444 GB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.4067, allocations: 89.48 kB / 0.5445 GB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4067, allocations: 34.55 kB / 0.5445 GB, free: 12.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.415e-06/0.4068, allocations: 0 / 0.5445 GB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001748/0.4085, allocations: 0.5172 MB / 0.545 GB, free: 12.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.4086, allocations: 51.41 kB / 0.5451 GB, free: 12.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.4088, allocations: 178.5 kB / 0.5452 GB, free: 12.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.4089, allocations: 28.89 kB / 0.5453 GB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.409, allocations: 163.9 kB / 0.5454 GB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-05/0.4091, allocations: 84.67 kB / 0.5455 GB, free: 12.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.4092, allocations: 6.75 kB / 0.5455 GB, free: 12.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4093, allocations: 325 kB / 0.5458 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.4096, allocations: 113.5 kB / 0.5459 GB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.4099, allocations: 121.7 kB / 0.546 GB, free: 11.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.4105, allocations: 249.1 kB / 0.5463 GB, free: 11.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4105, allocations: 0 / 0.5463 GB, free: 11.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001018/0.4116, allocations: 376.1 kB / 0.5466 GB, free: 11.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4116, allocations: 4 kB / 0.5466 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4116, allocations: 0 / 0.5466 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.412, allocations: 56.81 kB / 0.5467 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.4124, allocations: 51.91 kB / 0.5467 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.4144, allocations: 1.444 MB / 0.5482 GB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.4147, allocations: 19.75 kB / 0.5482 GB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.4148, allocations: 16.14 kB / 0.5482 GB, free: 9.477 MB / 362.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.0002097/0.415, allocations: 138 kB / 0.5483 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.4151, allocations: 15.81 kB / 0.5483 GB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.4161, allocations: 352.5 kB / 0.5487 GB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4161, allocations: 4 kB / 0.5487 GB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4162, allocations: 0 / 0.5487 GB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.4162, allocations: 0 / 0.5487 GB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.4179, allocations: 0.7721 MB / 0.5494 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4179, allocations: 0 / 0.5494 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.4182, allocations: 39.92 kB / 0.5495 GB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/0.4185, allocations: 56.81 kB / 0.5495 GB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.4186, allocations: 4 kB / 0.5495 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.4204, allocations: 1.445 MB / 0.5509 GB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4205, allocations: 0 / 0.5509 GB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009212/0.4214, allocations: 404.1 kB / 0.5513 GB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4215, allocations: 100.8 kB / 0.5514 GB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.4216, allocations: 4 kB / 0.5514 GB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.4218, allocations: 7.938 kB / 0.5514 GB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.4219, allocations: 19.97 kB / 0.5514 GB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.4219, allocations: 4 kB / 0.5515 GB, free: 5.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.4221, allocations: 134.9 kB / 0.5516 GB, free: 5.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4221, allocations: 0 / 0.5516 GB, free: 5.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006644/0.4228, allocations: 83.84 kB / 0.5517 GB, free: 5.672 MB / 362.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.000215/0.423, allocations: 119.2 kB / 0.5518 GB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.4242, allocations: 399 kB / 0.5522 GB, free: 5.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4242, allocations: 0 / 0.5522 GB, free: 5.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006391/0.4248, allocations: 255.2 kB / 0.5524 GB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.4253, allocations: 12 kB / 0.5524 GB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.4265, allocations: 0.5351 MB / 0.5529 GB, free: 4.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.4269, allocations: 0.7401 MB / 0.5537 GB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.4272, allocations: 25.52 kB / 0.5537 GB, free: 3.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.4273, allocations: 27.42 kB / 0.5537 GB, free: 3.488 MB / 362.7 MB Notification: Performance of SimCode: time 2.335e-06/0.4273, allocations: 4 kB / 0.5537 GB, free: 3.484 MB / 362.7 MB Notification: Performance of Templates: time 0.008156/0.4355, allocations: 2.476 MB / 0.5561 GB, free: 1.016 MB / 362.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)