Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001638/0.001638, allocations: 189.7 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001298, allocations: 99.69 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2796/0.2796, allocations: 37.97 MB / 347.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.727e-06, allocations: 4 kB / 409.3 MB, free: 47.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09906/0.09909, allocations: 56.32 MB / 465.6 MB, free: 6.852 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.4449, allocations: 95.61 MB / 0.5481 GB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/0.4453, allocations: 91.94 kB / 0.5482 GB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06464/0.51, allocations: 12.1 MB / 0.56 GB, free: 2.926 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.537e-05/0.5101, allocations: 8 kB / 0.56 GB, free: 2.918 MB / 394.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.00166/0.5117, allocations: 0.6181 MB / 0.5606 GB, free: 2.254 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5118, allocations: 8.031 kB / 0.5606 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.5131, allocations: 91.36 kB / 0.5607 GB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004225/0.5174, allocations: 0.8605 MB / 0.5615 GB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.5175, allocations: 12 kB / 0.5616 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.5176, allocations: 28 kB / 0.5616 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001054/0.5187, allocations: 285.4 kB / 0.5619 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.52, allocations: 432.4 kB / 0.5623 GB, free: 500 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.5201, allocations: 0 / 0.5623 GB, free: 500 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.946e-05/0.5201, allocations: 3.938 kB / 0.5623 GB, free: 496 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.316e-05/0.5202, allocations: 24.77 kB / 0.5623 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005126/0.5254, allocations: 1.649 MB / 0.5639 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.526, allocations: 124.3 kB / 0.564 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.5264, allocations: 101.7 kB / 0.5641 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.5265, allocations: 0 / 0.5641 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/0.5265, allocations: 50.45 kB / 0.5642 GB, free: 14.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 3.396e-06/0.5266, allocations: 0 / 0.5642 GB, free: 14.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002799/0.5294, allocations: 0.6742 MB / 0.5648 GB, free: 13.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.5295, allocations: 92.94 kB / 0.5649 GB, free: 13.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006349/0.5301, allocations: 239.5 kB / 0.5651 GB, free: 13.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.5302, allocations: 29.64 kB / 0.5652 GB, free: 13.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.5305, allocations: 277.8 kB / 0.5654 GB, free: 13.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.5307, allocations: 71.09 kB / 0.5655 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.5307, allocations: 0 / 0.5655 GB, free: 12.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.531, allocations: 322.8 kB / 0.5658 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.5314, allocations: 92.25 kB / 0.5659 GB, free: 12.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.5319, allocations: 189 kB / 0.5661 GB, free: 12.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.5325, allocations: 139.3 kB / 0.5662 GB, free: 12.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5325, allocations: 0 / 0.5662 GB, free: 12.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002381/0.5349, allocations: 432.9 kB / 0.5666 GB, free: 11.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.535, allocations: 4 kB / 0.5666 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00157/0.5366, allocations: 293.8 kB / 0.5669 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.5377, allocations: 128.9 kB / 0.567 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.5383, allocations: 55.86 kB / 0.5671 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00599/0.5443, allocations: 2.024 MB / 0.5691 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.5448, allocations: 11.98 kB / 0.5691 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/0.5449, allocations: 12 kB / 0.5691 GB, free: 9.09 MB / 410.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 () * 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.0001655/0.5451, allocations: 37.58 kB / 0.5691 GB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.5453, allocations: 31.69 kB / 0.5692 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.5464, allocations: 245.9 kB / 0.5694 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.5464, allocations: 3.984 kB / 0.5694 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5464, allocations: 3.906 kB / 0.5694 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5465, allocations: 4.062 kB / 0.5694 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.5492, allocations: 0.6993 MB / 0.5701 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.5492, allocations: 0 / 0.5701 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/0.5498, allocations: 39.92 kB / 0.5701 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002947/0.5501, allocations: 36.83 kB / 0.5702 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.5502, allocations: 7.984 kB / 0.5702 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.5502, allocations: 12.06 kB / 0.5702 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5503, allocations: 0 / 0.5702 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001342/0.5516, allocations: 496.6 kB / 0.5706 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.5518, allocations: 108.9 kB / 0.5708 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.5519, allocations: 4 kB / 0.5708 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/0.5524, allocations: 7.984 kB / 0.5708 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.5525, allocations: 15.84 kB / 0.5708 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.5526, allocations: 15.98 kB / 0.5708 GB, free: 7.176 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004049/0.553, allocations: 187.1 kB / 0.571 GB, free: 6.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001069/0.5541, allocations: 84 kB / 0.5711 GB, free: 6.914 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 () * 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): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003274/0.5544, allocations: 120.6 kB / 0.5712 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.5559, allocations: 366 kB / 0.5715 GB, free: 6.422 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5559, allocations: 0 / 0.5715 GB, free: 6.422 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.5565, allocations: 182.1 kB / 0.5717 GB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00089/0.5574, allocations: 52.84 kB / 0.5717 GB, free: 6.168 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.5604, allocations: 0.7121 MB / 0.5724 GB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.5615, allocations: 0.8726 MB / 0.5733 GB, free: 4.508 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5615, allocations: 0 / 0.5733 GB, free: 4.508 MB / 410.7 MB Notification: Performance of Templates: time 0.01878/0.5803, allocations: 5.647 MB / 0.5788 GB, free: 14.86 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)