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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00111/0.00111, allocations: 179.4 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.00155/0.00155, allocations: 114.7 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1607/0.1607, allocations: 38 MB / 340.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0752/0.07555, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2774/0.353, allocations: 97.01 MB / 0.541 GB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.3533, allocations: 93.44 kB / 0.5411 GB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03771/0.391, allocations: 14.61 MB / 0.5554 GB, free: 1.844 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.391, allocations: 4 kB / 0.5554 GB, free: 1.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.3911, allocations: 8 kB / 0.5554 GB, free: 1.832 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.001275/0.3924, allocations: 0.719 MB / 0.5561 GB, free: 1.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3924, allocations: 12.02 kB / 0.5561 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005528/0.393, allocations: 95.28 kB / 0.5562 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.395, allocations: 0.8632 MB / 0.557 GB, free: 220 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.395, allocations: 31.81 kB / 0.5571 GB, free: 200 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.3951, allocations: 38.56 kB / 0.5571 GB, free: 172 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/0.3959, allocations: 0.6478 MB / 0.5577 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.396, allocations: 3.906 kB / 0.5577 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.396, allocations: 13.94 kB / 0.5578 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.902e-05/0.3961, allocations: 44.47 kB / 0.5578 GB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.3967, allocations: 460.4 kB / 0.5582 GB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.3996, allocations: 3.048 MB / 0.5612 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.4001, allocations: 265.5 kB / 0.5615 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.4001, allocations: 8.734 kB / 0.5615 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.4001, allocations: 33.06 kB / 0.5615 GB, free: 12.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.254e-06/0.4001, allocations: 7.938 kB / 0.5615 GB, free: 12.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001655/0.4018, allocations: 1.086 MB / 0.5626 GB, free: 11.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.4019, allocations: 89.17 kB / 0.5627 GB, free: 11.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.4021, allocations: 278.2 kB / 0.5629 GB, free: 10.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.4022, allocations: 33.02 kB / 0.563 GB, free: 10.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.4023, allocations: 282.8 kB / 0.5632 GB, free: 10.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.4024, allocations: 99.98 kB / 0.5633 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.4024, allocations: 10.25 kB / 0.5633 GB, free: 10.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4026, allocations: 347.3 kB / 0.5637 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.4028, allocations: 149.5 kB / 0.5638 GB, free: 9.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.4031, allocations: 332.7 kB / 0.5641 GB, free: 9.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.4033, allocations: 205.8 kB / 0.5643 GB, free: 9.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4033, allocations: 0 / 0.5643 GB, free: 9.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009701/0.4043, allocations: 0.6172 MB / 0.5649 GB, free: 9.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4043, allocations: 8 kB / 0.5649 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006154/0.405, allocations: 374.1 kB / 0.5653 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.4054, allocations: 118 kB / 0.5654 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.4057, allocations: 91.19 kB / 0.5655 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.4081, allocations: 3.053 MB / 0.5685 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.4083, allocations: 23.3 kB / 0.5685 GB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.4084, allocations: 19.69 kB / 0.5685 GB, free: 5.434 MB / 378.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 () * Number of clocked 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.0002177/0.4086, allocations: 214.7 kB / 0.5687 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.4087, allocations: 31.53 kB / 0.5687 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/0.4092, allocations: 378.1 kB / 0.5691 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.4093, allocations: 4 kB / 0.5691 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.4093, allocations: 0 / 0.5691 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4093, allocations: 7.984 kB / 0.5691 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.4104, allocations: 0.8731 MB / 0.57 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4105, allocations: 0 / 0.57 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.4108, allocations: 69.89 kB / 0.57 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4109, allocations: 4 kB / 0.57 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.4109, allocations: 11.11 kB / 0.5701 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4109, allocations: 0 / 0.5701 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4109, allocations: 11.94 kB / 0.5701 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.4116, allocations: 0.6185 MB / 0.5707 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.4117, allocations: 131.2 kB / 0.5708 GB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.4118, allocations: 11.36 kB / 0.5708 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.412, allocations: 11.3 kB / 0.5708 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.412, allocations: 15.11 kB / 0.5708 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.412, allocations: 11.98 kB / 0.5708 GB, free: 3.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.4122, allocations: 216.4 kB / 0.571 GB, free: 3.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4123, allocations: 0 / 0.571 GB, free: 3.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004706/0.4127, allocations: 117.9 kB / 0.5712 GB, free: 3.109 MB / 378.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 () * Number of clocked 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.0001811/0.4129, allocations: 142 kB / 0.5713 GB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008869/0.4138, allocations: 0.6112 MB / 0.5719 GB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4138, allocations: 3.938 kB / 0.5719 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.414, allocations: 153.2 kB / 0.572 GB, free: 2.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.4144, allocations: 69.89 kB / 0.5721 GB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.4158, allocations: 1.256 MB / 0.5733 GB, free: 1.062 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.4163, allocations: 0.8804 MB / 0.5742 GB, free: 180 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.4166, allocations: 119.2 kB / 0.5743 GB, free: 56 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.4167, allocations: 30.19 kB / 0.5743 GB, free: 28 kB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4167, allocations: 0 / 0.5743 GB, free: 28 kB / 378.7 MB Notification: Performance of Templates: time 0.007172/0.4238, allocations: 3.817 MB / 0.5781 GB, free: 12.22 MB / 394.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)