Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001574, allocations: 182.5 kB / 13.23 MB, free: 2.086 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.279/1.279, allocations: 221.4 MB / 235.1 MB, free: 14.39 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.0008769/0.000877, allocations: 100.9 kB / 286.1 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03983/0.03983, allocations: 8.106 MB / 345.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.736e-05, allocations: 7.984 kB / 405.5 MB, free: 61.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07637/0.07641, allocations: 52.52 MB / 458 MB, free: 9.457 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.3694, allocations: 79.51 MB / 0.5249 GB, free: 6.492 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.3697, allocations: 60.61 kB / 0.5249 GB, free: 6.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02149/0.3912, allocations: 8.476 MB / 0.5332 GB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3912, allocations: 3.938 kB / 0.5332 GB, free: 15.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.3913, allocations: 4 kB / 0.5332 GB, free: 15.66 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001396/0.3927, allocations: 0.6205 MB / 0.5338 GB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3927, allocations: 8.031 kB / 0.5338 GB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.3928, allocations: 27.72 kB / 0.5339 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.3931, allocations: 267.7 kB / 0.5341 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3931, allocations: 19.23 kB / 0.5341 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.3932, allocations: 14.88 kB / 0.5342 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.3936, allocations: 283.1 kB / 0.5344 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3936, allocations: 4 kB / 0.5344 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.3937, allocations: 7.562 kB / 0.5344 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3937, allocations: 7.953 kB / 0.5344 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.394, allocations: 275.1 kB / 0.5347 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.3955, allocations: 1.126 MB / 0.5358 GB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008544/0.3964, allocations: 451.4 kB / 0.5362 GB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.3966, allocations: 171 kB / 0.5364 GB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.302e-05/0.3967, allocations: 7.125 kB / 0.5364 GB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3967, allocations: 45.95 kB / 0.5365 GB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/0.3968, allocations: 0 / 0.5365 GB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001225/0.398, allocations: 0.5465 MB / 0.537 GB, free: 12.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.398, allocations: 55.41 kB / 0.537 GB, free: 12.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3982, allocations: 204.1 kB / 0.5372 GB, free: 12.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3983, allocations: 33.27 kB / 0.5373 GB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.3983, allocations: 144.4 kB / 0.5374 GB, free: 12.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.3984, allocations: 92.72 kB / 0.5375 GB, free: 12.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.3984, allocations: 3.812 kB / 0.5375 GB, free: 12.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.3985, allocations: 333.5 kB / 0.5378 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.3987, allocations: 155.3 kB / 0.538 GB, free: 11.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.3989, allocations: 150.3 kB / 0.5381 GB, free: 11.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.3992, allocations: 163 kB / 0.5383 GB, free: 11.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3992, allocations: 0 / 0.5383 GB, free: 11.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0012/0.4004, allocations: 0.6006 MB / 0.5388 GB, free: 11.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4004, allocations: 4 kB / 0.5389 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4004, allocations: 0 / 0.5389 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009811/0.4014, allocations: 252.2 kB / 0.5391 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.4016, allocations: 43.67 kB / 0.5391 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.4047, allocations: 2.528 MB / 0.5416 GB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.405, allocations: 19.48 kB / 0.5416 GB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.405, allocations: 11.5 kB / 0.5416 GB, free: 8.801 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.4051, allocations: 120.7 kB / 0.5417 GB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.4052, allocations: 23.72 kB / 0.5418 GB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.4065, allocations: 0.6149 MB / 0.5424 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4065, allocations: 4 kB / 0.5424 GB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.4065, allocations: 4 kB / 0.5424 GB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4065, allocations: 0 / 0.5424 GB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.4082, allocations: 1.083 MB / 0.5434 GB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4082, allocations: 0 / 0.5434 GB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.4083, allocations: 31.92 kB / 0.5435 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009168/0.4093, allocations: 247.3 kB / 0.5437 GB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.4093, allocations: 6.5 kB / 0.5437 GB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002971/0.4123, allocations: 2.503 MB / 0.5462 GB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4123, allocations: 0 / 0.5462 GB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.4135, allocations: 0.6452 MB / 0.5468 GB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.018e-05/0.4136, allocations: 104.7 kB / 0.5469 GB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.4137, allocations: 10.98 kB / 0.5469 GB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.4139, allocations: 11.62 kB / 0.5469 GB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.414, allocations: 31.44 kB / 0.5469 GB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.414, allocations: 8 kB / 0.5469 GB, free: 4.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.4142, allocations: 170.3 kB / 0.5471 GB, free: 4.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4142, allocations: 0 / 0.5471 GB, free: 4.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004242/0.4146, allocations: 118.6 kB / 0.5472 GB, free: 4.262 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 () * 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 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001915/0.4148, allocations: 110.9 kB / 0.5473 GB, free: 4.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.4159, allocations: 0.5617 MB / 0.5479 GB, free: 3.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4159, allocations: 0 / 0.5479 GB, free: 3.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.4166, allocations: 398 kB / 0.5483 GB, free: 3.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.4169, allocations: 24.94 kB / 0.5483 GB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.4176, allocations: 353.9 kB / 0.5486 GB, free: 3.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.4179, allocations: 0.7527 MB / 0.5493 GB, free: 2.344 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.418, allocations: 38.03 kB / 0.5494 GB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.4181, allocations: 27.11 kB / 0.5494 GB, free: 2.285 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4181, allocations: 3.938 kB / 0.5494 GB, free: 2.281 MB / 362.7 MB Notification: Performance of Templates: time 0.009059/0.4271, allocations: 5.801 MB / 0.5551 GB, free: 12.53 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)