Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001408/0.001412, allocations: 185 kB / 16.38 MB, free: 5.723 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.733/1.733, allocations: 194.5 MB / 211.6 MB, free: 2.965 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.001786/0.001786, allocations: 118.3 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2345/0.2345, allocations: 38 MB / 340.1 MB, free: 1.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004865, allocations: 12 kB / 403.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06533/0.06584, allocations: 53.22 MB / 457 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004137/0.07002, allocations: 4.283 MB / 461.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.07237, allocations: 1.646 MB / 462.9 MB, free: 9.531 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.0726, allocations: 27.81 kB / 463 MB, free: 9.504 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.07278, allocations: 79.5 kB / 463.1 MB, free: 9.426 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005404/0.07334, allocations: 231.2 kB / 463.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006283/0.07398, allocations: 231.5 kB / 463.5 MB, free: 8.973 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.07436, allocations: 311.8 kB / 463.8 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005843/0.07496, allocations: 426.5 kB / 464.2 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.07525, allocations: 187.3 kB / 464.4 MB, free: 8.035 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.07562, allocations: 267.3 kB / 464.7 MB, free: 7.773 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.286e-05/0.07569, allocations: 20 kB / 464.7 MB, free: 7.754 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.07599, allocations: 155.7 kB / 464.8 MB, free: 7.602 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.07619, allocations: 191.5 kB / 465 MB, free: 7.414 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.993e-05/0.0763, allocations: 113.5 kB / 465.1 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.07676, allocations: 498.8 kB / 465.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.21e-06/0.07678, allocations: 4 kB / 465.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.07679, allocations: 0 / 465.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.07681, allocations: 0 / 465.6 MB, free: 6.805 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001024/0.07784, allocations: 0.6918 MB / 466.3 MB, free: 6.066 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.07788, allocations: 12.02 kB / 466.3 MB, free: 6.055 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006436/0.07853, allocations: 99.27 kB / 466.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.07907, allocations: 394.1 kB / 466.8 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.07914, allocations: 21 kB / 466.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.07931, allocations: 51.94 kB / 466.9 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.08034, allocations: 0.6875 MB / 467.6 MB, free: 4.738 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.08038, allocations: 3.938 kB / 467.6 MB, free: 4.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.08044, allocations: 20 kB / 467.6 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/0.08065, allocations: 64.95 kB / 467.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.08167, allocations: 0.6635 MB / 468.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/0.08502, allocations: 2.642 MB / 471 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.0856, allocations: 313.3 kB / 471.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.08565, allocations: 12.05 kB / 471.3 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.08568, allocations: 38.5 kB / 471.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 3.278e-06/0.08569, allocations: 4 kB / 471.3 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.002296/0.08799, allocations: 1.445 MB / 472.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.08808, allocations: 85.23 kB / 472.9 MB, free: 15.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.08848, allocations: 295.1 kB / 473.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.08853, allocations: 33.69 kB / 473.2 MB, free: 14.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.08873, allocations: 247.6 kB / 473.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.08887, allocations: 138.1 kB / 473.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.08891, allocations: 4 kB / 473.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.0891, allocations: 354.7 kB / 473.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.08944, allocations: 184.9 kB / 474.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.08991, allocations: 321.3 kB / 474.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.09037, allocations: 243.8 kB / 474.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.843e-06/0.0904, allocations: 4 kB / 474.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001515/0.09192, allocations: 0.6741 MB / 475.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.09196, allocations: 4 kB / 475.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000994/0.09296, allocations: 479.6 kB / 475.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000492/0.09347, allocations: 125.8 kB / 475.9 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.09384, allocations: 83.89 kB / 476 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.0973, allocations: 3.054 MB / 479 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.09759, allocations: 27.88 kB / 479.1 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.09766, allocations: 27.92 kB / 479.1 MB, free: 8.547 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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.0003019/0.09798, allocations: 209.6 kB / 479.3 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.0981, allocations: 39.61 kB / 479.3 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009514/0.09906, allocations: 460.7 kB / 479.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-05/0.09914, allocations: 20 kB / 479.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.672e-06/0.09916, allocations: 0 / 479.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.856e-06/0.09917, allocations: 0 / 479.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.1011, allocations: 1.025 MB / 480.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.316e-06/0.1011, allocations: 0 / 480.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004966/0.1016, allocations: 63.95 kB / 480.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.709e-06/0.1017, allocations: 8.062 kB / 480.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.1017, allocations: 4 kB / 480.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.786e-06/0.1017, allocations: 7.938 kB / 480.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.649e-06/0.1017, allocations: 4 kB / 480.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.103, allocations: 0.7911 MB / 481.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.1033, allocations: 136.8 kB / 481.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.1034, allocations: 11.94 kB / 481.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.1036, allocations: 23.92 kB / 481.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.1037, allocations: 15.92 kB / 481.9 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.1038, allocations: 15.98 kB / 481.9 MB, free: 5.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002759/0.104, allocations: 199.1 kB / 482.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.1041, allocations: 8 kB / 482.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006326/0.1047, allocations: 112 kB / 482.2 MB, free: 5.273 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002288/0.1049, allocations: 115.2 kB / 482.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.1063, allocations: 0.7092 MB / 483 MB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1063, allocations: 0 / 483 MB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003936/0.1067, allocations: 211.8 kB / 483.3 MB, free: 4.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.1072, allocations: 61.38 kB / 483.3 MB, free: 4.152 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.1095, allocations: 1.341 MB / 484.7 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.1102, allocations: 0.8827 MB / 485.5 MB, free: 1.867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004287/0.1107, allocations: 111.2 kB / 485.6 MB, free: 1.754 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1108, allocations: 27.44 kB / 485.7 MB, free: 1.727 MB / 330.7 MB Notification: Performance of SimCode: time 1.479e-06/0.1108, allocations: 3.938 kB / 485.7 MB, free: 1.723 MB / 330.7 MB Notification: Performance of Templates: time 0.01153/0.1224, allocations: 3.946 MB / 489.6 MB, free: 13.79 MB / 346.7 MB