Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008842/0.0008842, allocations: 86.33 kB / 16.31 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 176.8 kB / 17.21 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 223.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3102/0.3102, allocations: 38.05 MB / 309.7 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005437/0.0005438, allocations: 12 kB / 376.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.1001, allocations: 56.33 MB / 432.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.00516/0.1053, allocations: 4.603 MB / 437.5 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1077, allocations: 1.466 MB / 438.9 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003815/0.1081, allocations: 23.81 kB / 438.9 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.1085, allocations: 99.28 kB / 439 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008529/0.1094, allocations: 262.7 kB / 439.3 MB, free: 372 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.11, allocations: 171.6 kB / 439.5 MB, free: 200 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009954/0.111, allocations: 0.6581 MB / 440.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.1122, allocations: 0.527 MB / 440.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005896/0.1129, allocations: 211 kB / 440.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007399/0.1136, allocations: 263.2 kB / 441.1 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.1137, allocations: 19.94 kB / 441.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.1141, allocations: 87.86 kB / 441.2 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.1144, allocations: 167.5 kB / 441.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.1145, allocations: 105.5 kB / 441.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.115, allocations: 395 kB / 441.9 MB, free: 13.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.115, allocations: 0 / 441.9 MB, free: 13.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.115, allocations: 0 / 441.9 MB, free: 13.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.1151, allocations: 0 / 441.9 MB, free: 13.74 MB / 382.1 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.001126/0.1162, allocations: 0.6288 MB / 442.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1162, allocations: 8.031 kB / 442.5 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006108/0.1169, allocations: 91.38 kB / 442.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007491/0.1176, allocations: 378.2 kB / 443 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.1177, allocations: 25 kB / 443 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.1178, allocations: 51.83 kB / 443 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007791/0.1186, allocations: 472.8 kB / 443.5 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.1186, allocations: 4 kB / 443.5 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.1187, allocations: 11.94 kB / 443.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.1188, allocations: 28.98 kB / 443.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.1194, allocations: 331.7 kB / 443.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.1217, allocations: 1.71 MB / 445.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.122, allocations: 149.1 kB / 445.7 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.1222, allocations: 109.7 kB / 445.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1222, allocations: 3.938 kB / 445.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1222, allocations: 38.55 kB / 445.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.943e-06/0.1223, allocations: 0 / 445.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001402/0.1237, allocations: 0.8575 MB / 446.7 MB, free: 8.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.1237, allocations: 81.06 kB / 446.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.124, allocations: 308.4 kB / 447.1 MB, free: 8.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1241, allocations: 29.7 kB / 447.1 MB, free: 8.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.1242, allocations: 247.5 kB / 447.4 MB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.1243, allocations: 63.05 kB / 447.4 MB, free: 7.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.1243, allocations: 4 kB / 447.4 MB, free: 7.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1244, allocations: 346.8 kB / 447.8 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1246, allocations: 92.23 kB / 447.9 MB, free: 7.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1248, allocations: 197.2 kB / 448.1 MB, free: 7.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.125, allocations: 124.6 kB / 448.2 MB, free: 6.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.125, allocations: 4 kB / 448.2 MB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007819/0.1258, allocations: 459.9 kB / 448.6 MB, free: 6.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1258, allocations: 4 kB / 448.6 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005092/0.1263, allocations: 288.4 kB / 448.9 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/0.1267, allocations: 132.9 kB / 449.1 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1269, allocations: 55.91 kB / 449.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.1292, allocations: 2.147 MB / 451.3 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.1294, allocations: 19.92 kB / 451.3 MB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1294, allocations: 12 kB / 451.3 MB, free: 3.734 MB / 382.1 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.000194/0.1297, allocations: 189.7 kB / 451.5 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.1297, allocations: 31.62 kB / 451.5 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.1302, allocations: 249.4 kB / 451.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1302, allocations: 3.953 kB / 451.8 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1302, allocations: 0 / 451.8 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1302, allocations: 8 kB / 451.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.1313, allocations: 0.7194 MB / 452.5 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1313, allocations: 0 / 452.5 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.1315, allocations: 39.97 kB / 452.5 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.158e-05/0.1316, allocations: 28.91 kB / 452.5 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.1317, allocations: 11.98 kB / 452.6 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.1327, allocations: 1.474 MB / 454 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1327, allocations: 3.984 kB / 454 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.1333, allocations: 430.6 kB / 454.5 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.1334, allocations: 100.7 kB / 454.6 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.1334, allocations: 12.03 kB / 454.6 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.1336, allocations: 12 kB / 454.6 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.1336, allocations: 7.984 kB / 454.6 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1336, allocations: 11.95 kB / 454.6 MB, free: 160 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1984/0.332, allocations: 217 kB / 454.8 MB, free: 51.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.163e-06/0.3321, allocations: 3.281 kB / 454.8 MB, free: 51.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007708/0.3328, allocations: 86.75 kB / 454.9 MB, free: 51.16 MB / 382.1 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.0001137/0.333, allocations: 102 kB / 455 MB, free: 51.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006732/0.3336, allocations: 381.1 kB / 455.4 MB, free: 50.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.3337, allocations: 0 / 455.4 MB, free: 50.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.3339, allocations: 238.4 kB / 455.6 MB, free: 50.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.3344, allocations: 53.23 kB / 455.7 MB, free: 50.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.3357, allocations: 1.076 MB / 456.7 MB, free: 50.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.336, allocations: 0.8447 MB / 457.6 MB, free: 49.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.3361, allocations: 58.97 kB / 457.6 MB, free: 49.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.3362, allocations: 23.31 kB / 457.7 MB, free: 49.62 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3362, allocations: 0 / 457.7 MB, free: 49.62 MB / 382.1 MB Notification: Performance of Templates: time 0.006129/0.3423, allocations: 3.593 MB / 461.3 MB, free: 49.42 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) Environment - environmentSimulation: