Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009521/0.0009522, allocations: 178.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.138/1.138, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001552/0.001552, allocations: 115.7 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1741/0.1741, allocations: 38 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003281, allocations: 16 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07548/0.07583, allocations: 53.22 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2762/0.3521, allocations: 91.54 MB / 0.5357 GB, free: 3.891 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.3524, allocations: 94.5 kB / 0.5358 GB, free: 3.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03025/0.3826, allocations: 12.53 MB / 0.548 GB, free: 9.074 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3827, allocations: 0 / 0.548 GB, free: 9.074 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.3827, allocations: 8 kB / 0.548 GB, free: 9.066 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009524/0.3836, allocations: 0.6599 MB / 0.5487 GB, free: 8.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3837, allocations: 16.02 kB / 0.5487 GB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005168/0.3842, allocations: 99.34 kB / 0.5488 GB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.3861, allocations: 0.856 MB / 0.5496 GB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3861, allocations: 23.62 kB / 0.5496 GB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.3862, allocations: 42.86 kB / 0.5497 GB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/0.3868, allocations: 465 kB / 0.5501 GB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3868, allocations: 0 / 0.5501 GB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.3868, allocations: 25.86 kB / 0.5501 GB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.3869, allocations: 23.56 kB / 0.5502 GB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.3873, allocations: 327 kB / 0.5505 GB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.3893, allocations: 1.71 MB / 0.5521 GB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.3895, allocations: 143.6 kB / 0.5523 GB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.3895, allocations: 0 / 0.5523 GB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3896, allocations: 42.12 kB / 0.5523 GB, free: 5.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.3896, allocations: 0 / 0.5523 GB, free: 5.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001251/0.3908, allocations: 0.8573 MB / 0.5532 GB, free: 4.316 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.3909, allocations: 85.19 kB / 0.5532 GB, free: 4.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.3911, allocations: 271.3 kB / 0.5535 GB, free: 3.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3912, allocations: 29.7 kB / 0.5535 GB, free: 3.949 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3913, allocations: 246.2 kB / 0.5538 GB, free: 3.746 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.3913, allocations: 64.09 kB / 0.5538 GB, free: 3.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.3913, allocations: 6.625 kB / 0.5538 GB, free: 3.691 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3915, allocations: 346.4 kB / 0.5542 GB, free: 3.355 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3916, allocations: 91.61 kB / 0.5542 GB, free: 3.293 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.3918, allocations: 195.3 kB / 0.5544 GB, free: 3.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.3919, allocations: 130.8 kB / 0.5546 GB, free: 3.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3919, allocations: 0 / 0.5546 GB, free: 3.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007338/0.3927, allocations: 452 kB / 0.555 GB, free: 2.664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3927, allocations: 4 kB / 0.555 GB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005327/0.3932, allocations: 294.8 kB / 0.5553 GB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.3937, allocations: 130.4 kB / 0.5554 GB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.3939, allocations: 53.84 kB / 0.5554 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.3962, allocations: 2.201 MB / 0.5576 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.3964, allocations: 14.92 kB / 0.5576 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.3964, allocations: 16.19 kB / 0.5576 GB, free: 248 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.3966, allocations: 188.9 kB / 0.5578 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.3967, allocations: 31.62 kB / 0.5578 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.397, allocations: 250.3 kB / 0.5581 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3971, allocations: 3.953 kB / 0.5581 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3971, allocations: 4 kB / 0.5581 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3971, allocations: 4 kB / 0.5581 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009685/0.398, allocations: 0.7185 MB / 0.5588 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3981, allocations: 0 / 0.5588 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.3983, allocations: 43.91 kB / 0.5588 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.291e-05/0.3984, allocations: 26.66 kB / 0.5589 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.3984, allocations: 10.73 kB / 0.5589 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.3994, allocations: 1.497 MB / 0.5603 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3994, allocations: 0 / 0.5603 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.3999, allocations: 463.4 kB / 0.5608 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.4, allocations: 104.7 kB / 0.5609 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.4, allocations: 11.58 kB / 0.5609 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.4002, allocations: 8.031 kB / 0.5609 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.4002, allocations: 11.67 kB / 0.5609 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.4002, allocations: 4 kB / 0.5609 GB, free: 13.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.4004, allocations: 219.7 kB / 0.5611 GB, free: 12.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4004, allocations: 4 kB / 0.5611 GB, free: 12.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004222/0.4009, allocations: 98.94 kB / 0.5612 GB, free: 12.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001556/0.401, allocations: 115.2 kB / 0.5613 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005616/0.4016, allocations: 390.3 kB / 0.5617 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4016, allocations: 4 kB / 0.5617 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.4019, allocations: 237.8 kB / 0.5619 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.4022, allocations: 54.47 kB / 0.562 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.4034, allocations: 1.08 MB / 0.563 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.4039, allocations: 0.8515 MB / 0.5639 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.404, allocations: 62.92 kB / 0.5639 GB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.4041, allocations: 26.75 kB / 0.5639 GB, free: 10.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4041, allocations: 3.938 kB / 0.564 GB, free: 10.03 MB / 378.7 MB Notification: Performance of Templates: time 0.006735/0.4108, allocations: 3.839 MB / 0.5677 GB, free: 6.203 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)