Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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_master_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001414/0.001418, allocations: 188.1 kB / 16.39 MB, free: 5.594 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.722/1.722, allocations: 194.5 MB / 211.6 MB, free: 7.637 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002927/0.002927, allocations: 128.6 kB / 256.9 MB, free: 10.25 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.216/0.216, allocations: 38.01 MB / 340.1 MB, free: 13.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004155, allocations: 12.5 kB / 403.8 MB, free: 55.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06675/0.06718, allocations: 53.23 MB / 457 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004214/0.07144, allocations: 4.41 MB / 461.4 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.0738, allocations: 1.689 MB / 463.1 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.07405, allocations: 27.81 kB / 463.1 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.07425, allocations: 71.5 kB / 463.2 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005687/0.07483, allocations: 247.2 kB / 463.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.07546, allocations: 231.5 kB / 463.7 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.07588, allocations: 315.8 kB / 464 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006923/0.07659, allocations: 450.9 kB / 464.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.07684, allocations: 199.2 kB / 464.6 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.07716, allocations: 219.3 kB / 464.8 MB, free: 2.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.07722, allocations: 20 kB / 464.9 MB, free: 2.508 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.07743, allocations: 87.86 kB / 464.9 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.07759, allocations: 179.5 kB / 465.1 MB, free: 2.246 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.07769, allocations: 113.5 kB / 465.2 MB, free: 2.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.07808, allocations: 446.9 kB / 465.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.148e-06/0.07809, allocations: 0 / 465.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.07811, allocations: 0 / 465.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.469e-06/0.07812, allocations: 4 kB / 465.7 MB, free: 1.688 MB / 298.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.001056/0.07919, allocations: 0.6878 MB / 466.4 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.07923, allocations: 12.02 kB / 466.4 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007072/0.07994, allocations: 103.3 kB / 466.5 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.08047, allocations: 387 kB / 466.9 MB, free: 424 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.08052, allocations: 32.98 kB / 466.9 MB, free: 392 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.08066, allocations: 55.92 kB / 466.9 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009981/0.08168, allocations: 0.6482 MB / 467.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.08171, allocations: 0 / 467.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.08178, allocations: 16 kB / 467.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.08195, allocations: 52.97 kB / 467.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/0.08294, allocations: 491.4 kB / 468.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.08709, allocations: 3.152 MB / 471.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.08768, allocations: 248.3 kB / 471.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.08774, allocations: 4.25 kB / 471.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.08778, allocations: 38.75 kB / 471.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.481e-06/0.08779, allocations: 0 / 471.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001754/0.08956, allocations: 0.891 MB / 472.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.08963, allocations: 81.11 kB / 472.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.0901, allocations: 336.4 kB / 472.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.09016, allocations: 37.69 kB / 472.9 MB, free: 10 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.09041, allocations: 283.1 kB / 473.2 MB, free: 9.723 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/0.09051, allocations: 90.73 kB / 473.3 MB, free: 9.633 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.09055, allocations: 12 kB / 473.3 MB, free: 9.621 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.09073, allocations: 346.8 kB / 473.6 MB, free: 9.273 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.091, allocations: 124.8 kB / 473.7 MB, free: 9.152 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.09143, allocations: 325.1 kB / 474.1 MB, free: 8.746 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.09188, allocations: 195.8 kB / 474.3 MB, free: 8.555 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.21e-06/0.0919, allocations: 0 / 474.3 MB, free: 8.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001361/0.09327, allocations: 0.5856 MB / 474.8 MB, free: 7.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.0933, allocations: 12.42 kB / 474.8 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007728/0.09409, allocations: 337.2 kB / 475.2 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/0.0946, allocations: 117.5 kB / 475.3 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.09496, allocations: 91.83 kB / 475.4 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/0.0986, allocations: 3.065 MB / 478.4 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.0989, allocations: 16 kB / 478.5 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.09896, allocations: 23.98 kB / 478.5 MB, free: 4.027 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * 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: 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.000295/0.09926, allocations: 213.4 kB / 478.7 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.09936, allocations: 35.69 kB / 478.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007155/0.1001, allocations: 320.6 kB / 479 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.403e-06/0.1001, allocations: 4 kB / 479 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.353e-06/0.1001, allocations: 3.953 kB / 479.1 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.673e-06/0.1001, allocations: 0 / 479.1 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.1016, allocations: 0.8086 MB / 479.9 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.459e-06/0.1016, allocations: 0 / 479.9 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.102, allocations: 55.91 kB / 479.9 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.472e-06/0.102, allocations: 4 kB / 479.9 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.1021, allocations: 11.95 kB / 479.9 MB, free: 2.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.248e-06/0.1021, allocations: 0 / 479.9 MB, free: 2.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.786e-06/0.1021, allocations: 4 kB / 479.9 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.1029, allocations: 0.5416 MB / 480.5 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.1031, allocations: 128.7 kB / 480.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.1032, allocations: 11.98 kB / 480.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.1034, allocations: 8 kB / 480.6 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.1035, allocations: 19.97 kB / 480.6 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.1035, allocations: 12 kB / 480.7 MB, free: 1.715 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003093/0.1038, allocations: 223 kB / 480.9 MB, free: 1.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.16e-07/0.1038, allocations: 0 / 480.9 MB, free: 1.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000569/0.1044, allocations: 96 kB / 481 MB, free: 1.406 MB / 314.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 (27): * Single equations (assignments): 26 * Array equations: 0 * 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.0001291/0.1046, allocations: 114.2 kB / 481.1 MB, free: 1.289 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1056, allocations: 0.5763 MB / 481.7 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.283e-06/0.1056, allocations: 0 / 481.7 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.1059, allocations: 128.2 kB / 481.8 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1063, allocations: 73.27 kB / 481.8 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1083, allocations: 1.211 MB / 483.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.1089, allocations: 0.8779 MB / 483.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003713/0.1093, allocations: 111.2 kB / 484 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.1094, allocations: 27.44 kB / 484.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.227e-06/0.1094, allocations: 0 / 484.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of Templates: time 0.009632/0.1191, allocations: 3.526 MB / 487.6 MB, free: 10.68 MB / 330.7 MB