Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001074/0.001074, allocations: 190.9 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.175/1.175, allocations: 194.2 MB / 202.8 MB, free: 8.738 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.001741/0.001741, allocations: 114.2 kB / 247.7 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1628/0.1628, allocations: 37.91 MB / 330.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.702e-06/6.722e-06, allocations: 4 kB / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08004/0.08006, allocations: 53.23 MB / 443 MB, free: 24.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2528/0.3329, allocations: 96.23 MB / 0.5266 GB, free: 8.918 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.3333, allocations: 92.44 kB / 0.5267 GB, free: 8.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03854/0.3718, allocations: 14.16 MB / 0.5405 GB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.3719, allocations: 8 kB / 0.5405 GB, free: 15.34 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001336/0.3732, allocations: 0.6629 MB / 0.5412 GB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3733, allocations: 12.03 kB / 0.5412 GB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007055/0.374, allocations: 95.27 kB / 0.5413 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.3764, allocations: 0.8469 MB / 0.5421 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.3764, allocations: 12 kB / 0.5421 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.3765, allocations: 35.94 kB / 0.5422 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006885/0.3772, allocations: 397.3 kB / 0.5425 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.3781, allocations: 0.5895 MB / 0.5431 GB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.3781, allocations: 7.984 kB / 0.5431 GB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.3782, allocations: 0 / 0.5431 GB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.745e-05/0.3783, allocations: 48.03 kB / 0.5432 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.3816, allocations: 2.95 MB / 0.546 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.3821, allocations: 260.5 kB / 0.5463 GB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.3823, allocations: 132.9 kB / 0.5464 GB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.3823, allocations: 7.812 kB / 0.5464 GB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3824, allocations: 38.48 kB / 0.5465 GB, free: 9.738 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.404e-06/0.3824, allocations: 0 / 0.5465 GB, free: 9.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.00161/0.384, allocations: 0.8961 MB / 0.5473 GB, free: 8.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.3841, allocations: 81.11 kB / 0.5474 GB, free: 8.828 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.3844, allocations: 260.9 kB / 0.5477 GB, free: 8.609 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.3844, allocations: 25.7 kB / 0.5477 GB, free: 8.578 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.3846, allocations: 260.3 kB / 0.5479 GB, free: 8.344 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.3846, allocations: 98.69 kB / 0.548 GB, free: 8.258 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.3847, allocations: 0 / 0.548 GB, free: 8.258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3848, allocations: 347.3 kB / 0.5484 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.385, allocations: 142.7 kB / 0.5485 GB, free: 7.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.3853, allocations: 309.6 kB / 0.5488 GB, free: 7.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.3857, allocations: 214.5 kB / 0.549 GB, free: 7.336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3857, allocations: 0 / 0.549 GB, free: 7.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001125/0.3868, allocations: 0.5766 MB / 0.5496 GB, free: 6.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3869, allocations: 4 kB / 0.5496 GB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000744/0.3876, allocations: 377 kB / 0.5499 GB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004739/0.3881, allocations: 118.6 kB / 0.55 GB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.3885, allocations: 83.14 kB / 0.5501 GB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.3912, allocations: 2.864 MB / 0.5529 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.3916, allocations: 8 kB / 0.5529 GB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.3917, allocations: 31.72 kB / 0.553 GB, free: 3.434 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (46): * Single equations (assignments): 43 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.3918, allocations: 120.3 kB / 0.5531 GB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/0.3919, allocations: 31.62 kB / 0.5531 GB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008221/0.3927, allocations: 374.5 kB / 0.5535 GB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.3928, allocations: 4 kB / 0.5535 GB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3928, allocations: 7.906 kB / 0.5535 GB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3928, allocations: 4 kB / 0.5535 GB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.3941, allocations: 0.8032 MB / 0.5543 GB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.3941, allocations: 3.984 kB / 0.5543 GB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.3946, allocations: 63.09 kB / 0.5543 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.3946, allocations: 8.062 kB / 0.5543 GB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.3947, allocations: 3.938 kB / 0.5543 GB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3947, allocations: 7.984 kB / 0.5543 GB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3947, allocations: 0 / 0.5543 GB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008765/0.3956, allocations: 0.614 MB / 0.5549 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.3958, allocations: 129.4 kB / 0.5551 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.3958, allocations: 0 / 0.5551 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.3961, allocations: 7.984 kB / 0.5551 GB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.3961, allocations: 22.89 kB / 0.5551 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.3962, allocations: 14.86 kB / 0.5551 GB, free: 1.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002131/0.3964, allocations: 192 kB / 0.5553 GB, free: 1.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006443/0.397, allocations: 111.6 kB / 0.5554 GB, free: 1.219 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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.0002397/0.3973, allocations: 123.1 kB / 0.5555 GB, free: 1.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009719/0.3983, allocations: 0.5613 MB / 0.5561 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3983, allocations: 8.125 kB / 0.5561 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.3985, allocations: 149.6 kB / 0.5562 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.3989, allocations: 48.19 kB / 0.5563 GB, free: 472 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.4006, allocations: 0.7892 MB / 0.557 GB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/0.4013, allocations: 0.9188 MB / 0.5579 GB, free: 14.79 MB / 378.7 MB Notification: Performance of SimCode: time 9.71e-07/0.4013, allocations: 0 / 0.5579 GB, free: 14.79 MB / 378.7 MB Notification: Performance of Templates: time 0.009545/0.4108, allocations: 4.243 MB / 0.5621 GB, free: 10.57 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)