Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001388/0.001391, 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.734/1.734, 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.001816/0.001816, 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.2328/0.2328, allocations: 38.01 MB / 340.1 MB, free: 13.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004511, allocations: 12.5 kB / 403.8 MB, free: 55.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.08852, allocations: 53.23 MB / 457 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004505/0.09307, allocations: 4.445 MB / 461.5 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.09513, allocations: 1.447 MB / 462.9 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.09537, allocations: 23.81 kB / 462.9 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.09565, allocations: 95.45 kB / 463 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.09615, allocations: 219.2 kB / 463.2 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.09661, allocations: 171.6 kB / 463.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.09693, allocations: 283.5 kB / 463.7 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00087/0.09782, allocations: 0.5306 MB / 464.2 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.09811, allocations: 183.3 kB / 464.4 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.09842, allocations: 183.3 kB / 464.6 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.09848, allocations: 16 kB / 464.6 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.09867, allocations: 75.92 kB / 464.7 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.09882, allocations: 155.5 kB / 464.8 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.528e-05/0.09892, allocations: 101.5 kB / 464.9 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.09932, allocations: 394.9 kB / 465.3 MB, free: 2.062 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.357e-06/0.09934, allocations: 0 / 465.3 MB, free: 2.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.75e-06/0.09935, allocations: 0 / 465.3 MB, free: 2.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.275e-06/0.09937, allocations: 4 kB / 465.3 MB, free: 2.059 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.000875/0.1002, allocations: 0.625 MB / 465.9 MB, free: 1.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.1003, allocations: 12.02 kB / 465.9 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006837/0.101, allocations: 95.34 kB / 466 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.1016, allocations: 390.1 kB / 466.4 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1017, allocations: 29 kB / 466.4 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.1018, allocations: 43.86 kB / 466.5 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.1025, allocations: 464.8 kB / 466.9 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.1026, allocations: 7.938 kB / 467 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.1026, allocations: 16 kB / 467 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.1027, allocations: 24.98 kB / 467 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.1034, allocations: 331.7 kB / 467.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.1062, allocations: 1.71 MB / 469 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.1066, allocations: 145.1 kB / 469.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1066, allocations: 4.062 kB / 469.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1067, allocations: 30.56 kB / 469.2 MB, free: 13.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.477e-06/0.1067, allocations: 4 kB / 469.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001773/0.1085, allocations: 0.8566 MB / 470.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.1085, allocations: 81.11 kB / 470.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.1089, allocations: 308.6 kB / 470.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.109, allocations: 25.7 kB / 470.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.1092, allocations: 251.5 kB / 470.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.1093, allocations: 63.09 kB / 470.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.1094, allocations: 8 kB / 470.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.1096, allocations: 342.8 kB / 471.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.1098, allocations: 92.22 kB / 471.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.1101, allocations: 189.3 kB / 471.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.1104, allocations: 123.1 kB / 471.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-06/0.1104, allocations: 4 kB / 471.5 MB, free: 11.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0011/0.1115, allocations: 459.4 kB / 472 MB, free: 10.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1115, allocations: 8 kB / 472 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007486/0.1123, allocations: 292.9 kB / 472.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000782/0.1131, allocations: 132.7 kB / 472.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.1135, allocations: 51.91 kB / 472.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.1169, allocations: 2.3 MB / 474.7 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.1172, allocations: 8 kB / 474.7 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.1172, allocations: 16 kB / 474.8 MB, free: 8.004 MB / 314.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 () * Number of clocked 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.0002837/0.1175, allocations: 189.5 kB / 474.9 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.1176, allocations: 35.56 kB / 475 MB, free: 7.773 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.1182, allocations: 253.4 kB / 475.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.067e-06/0.1182, allocations: 4 kB / 475.2 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.616e-06/0.1182, allocations: 3.984 kB / 475.2 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.816e-06/0.1182, allocations: 0 / 475.2 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.1197, allocations: 0.7233 MB / 476 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1197, allocations: 0 / 476 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.12, allocations: 35.98 kB / 476 MB, free: 6.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.1201, allocations: 32.83 kB / 476 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.1202, allocations: 4 kB / 476 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.1218, allocations: 1.498 MB / 477.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1218, allocations: 4.234 kB / 477.5 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.1226, allocations: 463.6 kB / 478 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1227, allocations: 112.7 kB / 478.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.1228, allocations: 0 / 478.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.123, allocations: 11.98 kB / 478.1 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/0.123, allocations: 11.98 kB / 478.1 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1231, allocations: 8 kB / 478.1 MB, free: 4.355 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002809/0.1234, allocations: 211.1 kB / 478.3 MB, free: 4.152 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.055e-06/0.1234, allocations: 0 / 478.3 MB, free: 4.152 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005464/0.1239, allocations: 91.94 kB / 478.4 MB, free: 4.062 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Number of clocked 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): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001259/0.1241, allocations: 99.25 kB / 478.5 MB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008189/0.1249, allocations: 391 kB / 478.9 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1249, allocations: 4.125 kB / 478.9 MB, free: 3.555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.1254, allocations: 227.4 kB / 479.1 MB, free: 3.316 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.1258, allocations: 53.2 kB / 479.2 MB, free: 3.266 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1276, allocations: 1.086 MB / 480.3 MB, free: 2.145 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.1282, allocations: 0.8458 MB / 481.1 MB, free: 1.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000264/0.1285, allocations: 62.92 kB / 481.2 MB, free: 1.207 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.1286, allocations: 27.44 kB / 481.2 MB, free: 1.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.298e-06/0.1286, allocations: 4 kB / 481.2 MB, free: 1.176 MB / 314.7 MB Notification: Performance of Templates: time 0.009901/0.1385, allocations: 3.594 MB / 484.8 MB, free: 13.59 MB / 330.7 MB