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.001317/0.001317, allocations: 181 kB / 8.045 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.5 MB / 230 MB, free: 3.188 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.001133/0.001133, allocations: 96.55 kB / 280.9 MB, free: 1.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06955/0.06955, allocations: 8.103 MB / 339.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.089e-05/2.114e-05, allocations: 4 kB / 398.5 MB, free: 67.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 52.5 MB / 451 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.5066, allocations: 78.97 MB / 0.5175 GB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.5069, allocations: 64.03 kB / 0.5176 GB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01982/0.5267, allocations: 7.616 MB / 0.525 GB, free: 8.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5267, allocations: 0 / 0.525 GB, free: 8.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.5268, allocations: 4.875 kB / 0.525 GB, free: 8.984 MB / 346.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.001173/0.5279, allocations: 0.5409 MB / 0.5256 GB, free: 8.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.528, allocations: 11.98 kB / 0.5256 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/0.5281, allocations: 31.67 kB / 0.5256 GB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.5283, allocations: 199.3 kB / 0.5258 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.5283, allocations: 8 kB / 0.5258 GB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.5283, allocations: 15.94 kB / 0.5258 GB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003186/0.5286, allocations: 225.5 kB / 0.526 GB, free: 8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.529, allocations: 259 kB / 0.5263 GB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.529, allocations: 0 / 0.5263 GB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.5291, allocations: 8 kB / 0.5263 GB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.5291, allocations: 4 kB / 0.5263 GB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.5306, allocations: 0.93 MB / 0.5272 GB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.5312, allocations: 415.7 kB / 0.5276 GB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.661e-05/0.5313, allocations: 65.16 kB / 0.5277 GB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.5314, allocations: 7.984 kB / 0.5277 GB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.5314, allocations: 33.81 kB / 0.5277 GB, free: 6.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.5314, allocations: 0 / 0.5277 GB, free: 6.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005851/0.532, allocations: 212 kB / 0.5279 GB, free: 6.355 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.5321, allocations: 85.05 kB / 0.528 GB, free: 6.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.5323, allocations: 182.1 kB / 0.5282 GB, free: 6.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.5323, allocations: 25.7 kB / 0.5282 GB, free: 6.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.5324, allocations: 168.3 kB / 0.5283 GB, free: 5.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.5325, allocations: 56.2 kB / 0.5284 GB, free: 5.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.5325, allocations: 0 / 0.5284 GB, free: 5.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5326, allocations: 328 kB / 0.5287 GB, free: 5.547 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-05/0.5327, allocations: 77.42 kB / 0.5288 GB, free: 5.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.5328, allocations: 108.8 kB / 0.5289 GB, free: 5.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.5331, allocations: 101.6 kB / 0.529 GB, free: 5.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5331, allocations: 0 / 0.529 GB, free: 5.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006568/0.5338, allocations: 323.3 kB / 0.5293 GB, free: 5.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5338, allocations: 8 kB / 0.5293 GB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5338, allocations: 0 / 0.5293 GB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/0.5342, allocations: 71.97 kB / 0.5294 GB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.5344, allocations: 47.97 kB / 0.5294 GB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.5361, allocations: 2.557 MB / 0.5319 GB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.5363, allocations: 16.06 kB / 0.5319 GB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.5364, allocations: 8.047 kB / 0.5319 GB, free: 2.328 MB / 346.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 () * 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 9.802e-05/0.5365, allocations: 117.8 kB / 0.532 GB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.5365, allocations: 19.77 kB / 0.5321 GB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005217/0.5371, allocations: 242.2 kB / 0.5323 GB, free: 2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.5371, allocations: 4 kB / 0.5323 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5371, allocations: 0 / 0.5323 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5371, allocations: 0 / 0.5323 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008934/0.538, allocations: 0.6583 MB / 0.5329 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.538, allocations: 0 / 0.5329 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.5381, allocations: 31.17 kB / 0.533 GB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.5384, allocations: 67.11 kB / 0.533 GB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.5384, allocations: 3.953 kB / 0.533 GB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.5403, allocations: 2.559 MB / 0.5355 GB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5403, allocations: 0 / 0.5355 GB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.5409, allocations: 399.4 kB / 0.5359 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.541, allocations: 104.4 kB / 0.536 GB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.541, allocations: 3.938 kB / 0.536 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.5413, allocations: 15.98 kB / 0.536 GB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.5413, allocations: 19.59 kB / 0.5361 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.5414, allocations: 4 kB / 0.5361 GB, free: 14.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.5415, allocations: 148.6 kB / 0.5362 GB, free: 14.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5415, allocations: 0 / 0.5362 GB, free: 14.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004133/0.5419, allocations: 67.83 kB / 0.5363 GB, free: 13.96 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * 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: 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.0001796/0.5421, allocations: 110.8 kB / 0.5364 GB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006163/0.5427, allocations: 400.4 kB / 0.5367 GB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5428, allocations: 7.625 kB / 0.5368 GB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.5431, allocations: 293 kB / 0.537 GB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.5434, allocations: 16.48 kB / 0.5371 GB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.5439, allocations: 257.4 kB / 0.5373 GB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5442, allocations: 0.7438 MB / 0.538 GB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.5443, allocations: 29.83 kB / 0.5381 GB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.5444, allocations: 23.42 kB / 0.5381 GB, free: 12.15 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5444, allocations: 0 / 0.5381 GB, free: 12.15 MB / 362.7 MB Notification: Performance of Templates: time 0.005365/0.5498, allocations: 2.52 MB / 0.5405 GB, free: 9.66 MB / 362.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)