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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001875/0.001875, allocations: 111.8 kB / 16.51 MB, free: 6.715 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.002025/0.002025, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1795/0.1795, allocations: 38.03 MB / 329.3 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 60.91 kB / 398.1 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09961, allocations: 58.06 MB / 456.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006049/0.1057, allocations: 5.24 MB / 461.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.1079, allocations: 1.5 MB / 462.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.1081, allocations: 31.81 kB / 462.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.1092, allocations: 378.6 kB / 463.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005328/0.1097, allocations: 235 kB / 463.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.1101, allocations: 151.7 kB / 463.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007768/0.1109, allocations: 0.8338 MB / 464.5 MB, free: 124 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004872/0.1114, allocations: 272.8 kB / 464.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.1117, allocations: 223 kB / 465 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.1122, allocations: 299 kB / 465.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.1123, allocations: 24 kB / 465.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.1126, allocations: 131.7 kB / 465.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.1128, allocations: 179.5 kB / 465.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.113, allocations: 207 kB / 465.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.1135, allocations: 0.5061 MB / 466.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1135, allocations: 0 / 466.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1135, allocations: 0 / 466.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1135, allocations: 0 / 466.3 MB, free: 14.31 MB / 350.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.001048/0.1146, allocations: 0.7068 MB / 467 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1146, allocations: 8.031 kB / 467 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006147/0.1152, allocations: 84.39 kB / 467.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.1158, allocations: 391.2 kB / 467.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.1158, allocations: 29.31 kB / 467.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.116, allocations: 48.11 kB / 467.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.1166, allocations: 472.8 kB / 468 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.1167, allocations: 3.938 kB / 468 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.1167, allocations: 16 kB / 468 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.1168, allocations: 24.98 kB / 468.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.1174, allocations: 335.7 kB / 468.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.1196, allocations: 1.714 MB / 470.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.1199, allocations: 145.1 kB / 470.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.1201, allocations: 108.8 kB / 470.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1201, allocations: 12.16 kB / 470.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1201, allocations: 34.56 kB / 470.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.1201, allocations: 0 / 470.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001603/0.1217, allocations: 0.8529 MB / 471.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.1218, allocations: 81.11 kB / 471.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.1222, allocations: 304.5 kB / 471.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1222, allocations: 29.7 kB / 471.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1224, allocations: 263.5 kB / 471.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.1224, allocations: 59.11 kB / 472 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-05/0.1225, allocations: 61.97 kB / 472 MB, free: 8.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1227, allocations: 342.8 kB / 472.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.1228, allocations: 92.22 kB / 472.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.123, allocations: 201.2 kB / 472.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.1234, allocations: 310.9 kB / 473 MB, free: 7.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1235, allocations: 4 kB / 473 MB, free: 7.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008653/0.1243, allocations: 461.7 kB / 473.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1244, allocations: 8 kB / 473.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005955/0.125, allocations: 287.1 kB / 473.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.1255, allocations: 132.9 kB / 473.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.1257, allocations: 51.86 kB / 473.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.1282, allocations: 2.145 MB / 476 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.1284, allocations: 19.98 kB / 476 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.1285, allocations: 12 kB / 476.1 MB, free: 3.91 MB / 350.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.1287, allocations: 185.7 kB / 476.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.1287, allocations: 31.7 kB / 476.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.1292, allocations: 249.3 kB / 476.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1292, allocations: 8 kB / 476.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1292, allocations: 4.062 kB / 476.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1292, allocations: 3.938 kB / 476.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.1303, allocations: 0.7079 MB / 477.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.1303, allocations: 3.938 kB / 477.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.1306, allocations: 47.97 kB / 477.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.1307, allocations: 28.84 kB / 477.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.1307, allocations: 8 kB / 477.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.1319, allocations: 1.478 MB / 478.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1319, allocations: 0 / 478.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.1324, allocations: 430.4 kB / 479.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.1325, allocations: 100.7 kB / 479.3 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.1325, allocations: 4 kB / 479.3 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.1327, allocations: 8.031 kB / 479.3 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1328, allocations: 19.92 kB / 479.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.1328, allocations: 7.938 kB / 479.4 MB, free: 348 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.133, allocations: 223 kB / 479.6 MB, free: 128 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.133, allocations: 0 / 479.6 MB, free: 128 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.1335, allocations: 88 kB / 479.7 MB, free: 40 kB / 350.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001379/0.1336, allocations: 99.3 kB / 479.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006513/0.1343, allocations: 396.9 kB / 480.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1343, allocations: 0 / 480.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.1346, allocations: 227.4 kB / 480.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.1351, allocations: 68.98 kB / 480.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1366, allocations: 1.014 MB / 481.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.1371, allocations: 0.8457 MB / 482.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.1373, allocations: 58.92 kB / 482.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.1374, allocations: 27.42 kB / 482.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1374, allocations: 0 / 482.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of Templates: time 0.00825/0.1456, allocations: 3.745 MB / 486.1 MB, free: 9.508 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (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)