Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009796/0.0009796, allocations: 180.2 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.17/1.17, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001565/0.001566, allocations: 106.2 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1593/0.1593, allocations: 37.99 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07575/0.07609, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2769/0.353, allocations: 97.17 MB / 0.5412 GB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.3533, allocations: 91.31 kB / 0.5413 GB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03939/0.3927, allocations: 13.72 MB / 0.5547 GB, free: 2.387 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3928, allocations: 3.938 kB / 0.5547 GB, free: 2.383 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.3928, allocations: 16 kB / 0.5547 GB, free: 2.367 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001659/0.3945, allocations: 0.8019 MB / 0.5555 GB, free: 1.551 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3945, allocations: 16.02 kB / 0.5555 GB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004891/0.395, allocations: 95.16 kB / 0.5556 GB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.3972, allocations: 0.9492 MB / 0.5565 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.3973, allocations: 35.98 kB / 0.5565 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/0.3974, allocations: 41.31 kB / 0.5566 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008418/0.3982, allocations: 0.6748 MB / 0.5572 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.3982, allocations: 11.89 kB / 0.5572 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.3983, allocations: 17.73 kB / 0.5573 GB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.737e-05/0.3983, allocations: 32.38 kB / 0.5573 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.399, allocations: 0.5006 MB / 0.5578 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00332/0.4024, allocations: 3.035 MB / 0.5607 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.403, allocations: 336.7 kB / 0.5611 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.403, allocations: 4.062 kB / 0.5611 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4031, allocations: 41.44 kB / 0.5611 GB, free: 12.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.926e-06/0.4031, allocations: 0 / 0.5611 GB, free: 12.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002191/0.4053, allocations: 1.409 MB / 0.5625 GB, free: 11.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.4053, allocations: 85.67 kB / 0.5626 GB, free: 11.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.4057, allocations: 338.5 kB / 0.5629 GB, free: 10.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.4057, allocations: 32.08 kB / 0.5629 GB, free: 10.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.4059, allocations: 285.5 kB / 0.5632 GB, free: 10.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.183e-05/0.406, allocations: 140.4 kB / 0.5633 GB, free: 10.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.406, allocations: 6.062 kB / 0.5633 GB, free: 10.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4061, allocations: 352.6 kB / 0.5637 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.4064, allocations: 211.6 kB / 0.5639 GB, free: 9.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.4067, allocations: 376 kB / 0.5642 GB, free: 9.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.4071, allocations: 267.3 kB / 0.5645 GB, free: 9.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4071, allocations: 4 kB / 0.5645 GB, free: 9.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002009/0.4091, allocations: 0.8516 MB / 0.5653 GB, free: 8.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4092, allocations: 11.95 kB / 0.5653 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4092, allocations: 8.5 kB / 0.5653 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.4109, allocations: 298.3 kB / 0.5656 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/0.4116, allocations: 135.8 kB / 0.5658 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004701/0.4163, allocations: 3.865 MB / 0.5695 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.4167, allocations: 37.02 kB / 0.5696 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.4168, allocations: 27.17 kB / 0.5696 GB, free: 4.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003338/0.4171, allocations: 221.2 kB / 0.5698 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.4172, allocations: 39.48 kB / 0.5698 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000825/0.4181, allocations: 0.5278 MB / 0.5704 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.4181, allocations: 15.05 kB / 0.5704 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.4181, allocations: 0 / 0.5704 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4181, allocations: 0 / 0.5704 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.4196, allocations: 1.093 MB / 0.5714 GB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4197, allocations: 4 kB / 0.5714 GB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.4202, allocations: 95.25 kB / 0.5715 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4202, allocations: 0 / 0.5715 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.4202, allocations: 23.84 kB / 0.5716 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4202, allocations: 0 / 0.5716 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4202, allocations: 3.938 kB / 0.5716 GB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.4213, allocations: 0.8671 MB / 0.5724 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.4214, allocations: 120.3 kB / 0.5725 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.4214, allocations: 11.8 kB / 0.5725 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.4217, allocations: 27.55 kB / 0.5726 GB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.4218, allocations: 19.97 kB / 0.5726 GB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.4218, allocations: 11.75 kB / 0.5726 GB, free: 2.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002593/0.4221, allocations: 264.8 kB / 0.5728 GB, free: 1.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4221, allocations: 0 / 0.5728 GB, free: 1.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000561/0.4226, allocations: 135.8 kB / 0.573 GB, free: 1.734 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (40): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002073/0.4229, allocations: 130.5 kB / 0.5731 GB, free: 1.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.4243, allocations: 0.8433 MB / 0.5739 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4244, allocations: 0 / 0.5739 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.4247, allocations: 232.8 kB / 0.5741 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.4251, allocations: 78.61 kB / 0.5742 GB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.4271, allocations: 1.572 MB / 0.5757 GB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.4275, allocations: 0.913 MB / 0.5766 GB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003776/0.4279, allocations: 123.3 kB / 0.5768 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.428, allocations: 39.42 kB / 0.5768 GB, free: 14.07 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.428, allocations: 0 / 0.5768 GB, free: 14.07 MB / 394.7 MB Notification: Performance of Templates: time 0.01004/0.4381, allocations: 5.864 MB / 0.5825 GB, free: 8.219 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)