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.001359/0.001359, allocations: 111.1 kB / 17.28 MB, free: 6.199 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.00161/0.001611, allocations: 197.3 kB / 18.21 MB, free: 5.273 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.37/1.37, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1812/0.1812, allocations: 38.02 MB / 330 MB, free: 8.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 59.56 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1238, allocations: 58.06 MB / 457 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006933/0.1308, allocations: 5.236 MB / 462.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.1335, allocations: 1.488 MB / 463.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.1338, allocations: 27.81 kB / 463.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.135, allocations: 386.6 kB / 464.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006079/0.1356, allocations: 231 kB / 464.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.1361, allocations: 151.7 kB / 464.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006435/0.1368, allocations: 0.5724 MB / 465.1 MB, free: 324 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005392/0.1373, allocations: 305.2 kB / 465.4 MB, free: 24 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004172/0.1378, allocations: 255 kB / 465.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004913/0.1383, allocations: 295 kB / 465.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.1383, allocations: 28 kB / 465.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.1386, allocations: 127.8 kB / 466.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.1388, allocations: 187.5 kB / 466.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.1391, allocations: 226.9 kB / 466.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.1396, allocations: 399.1 kB / 466.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1396, allocations: 0 / 466.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1396, allocations: 4 kB / 466.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1396, allocations: 0 / 466.9 MB, free: 14.53 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.001318/0.141, allocations: 0.6951 MB / 467.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.141, allocations: 15.83 kB / 467.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006149/0.1416, allocations: 88.39 kB / 467.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.1422, allocations: 383.3 kB / 468 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1423, allocations: 25.38 kB / 468.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.1424, allocations: 48.11 kB / 468.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/0.1432, allocations: 476.8 kB / 468.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.1432, allocations: 0 / 468.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.1433, allocations: 15.94 kB / 468.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.1434, allocations: 28.98 kB / 468.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.1439, allocations: 339.7 kB / 468.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.1462, allocations: 1.71 MB / 470.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.1466, allocations: 155.8 kB / 470.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.1468, allocations: 105.7 kB / 470.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1468, allocations: 4.219 kB / 470.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1468, allocations: 38.5 kB / 470.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.1468, allocations: 0 / 470.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001551/0.1484, allocations: 0.8487 MB / 471.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1484, allocations: 88.98 kB / 471.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.1488, allocations: 308.5 kB / 472.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.1488, allocations: 25.7 kB / 472.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.149, allocations: 255.4 kB / 472.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.1491, allocations: 63.09 kB / 472.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/0.1492, allocations: 62.11 kB / 472.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1493, allocations: 342.8 kB / 472.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1495, allocations: 96.22 kB / 473 MB, free: 7.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.1497, allocations: 185.4 kB / 473.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.1501, allocations: 318.3 kB / 473.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1501, allocations: 0 / 473.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008529/0.151, allocations: 464.9 kB / 474 MB, free: 6.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.151, allocations: 4 kB / 474 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006139/0.1516, allocations: 296.4 kB / 474.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004868/0.1521, allocations: 132.8 kB / 474.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1523, allocations: 55.84 kB / 474.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.1552, allocations: 2.372 MB / 476.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.1554, allocations: 19.92 kB / 476.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.1555, allocations: 12 kB / 476.8 MB, free: 3.902 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.0002384/0.1557, allocations: 189.7 kB / 477 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.1558, allocations: 27.62 kB / 477 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.1562, allocations: 249.4 kB / 477.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1562, allocations: 7.938 kB / 477.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.1562, allocations: 0 / 477.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1562, allocations: 0 / 477.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.1573, allocations: 0.7234 MB / 478 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1574, allocations: 4 kB / 478 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.1576, allocations: 39.97 kB / 478.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.1577, allocations: 28.84 kB / 478.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1577, allocations: 4.062 kB / 478.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.159, allocations: 1.592 MB / 479.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.159, allocations: 4.031 kB / 479.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.1596, allocations: 425.2 kB / 480.1 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.1597, allocations: 108.7 kB / 480.2 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.1597, allocations: 4 kB / 480.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1599, allocations: 12.03 kB / 480.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1599, allocations: 20.06 kB / 480.3 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.16, allocations: 8 kB / 480.3 MB, free: 212 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.1602, allocations: 215 kB / 480.5 MB, free: 0 / 350.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1602, allocations: 112 / 480.5 MB, free: 16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004664/0.1607, allocations: 91.94 kB / 480.6 MB, free: 15.91 MB / 366.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.0001276/0.1608, allocations: 99.19 kB / 480.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007377/0.1616, allocations: 412.7 kB / 481.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1616, allocations: 0 / 481.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.1619, allocations: 244 kB / 481.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.1624, allocations: 68.92 kB / 481.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.164, allocations: 1.056 MB / 482.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.1644, allocations: 0.838 MB / 483.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.1645, allocations: 23.44 kB / 483.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1645, allocations: 0 / 483.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of Templates: time 0.008203/0.1727, allocations: 5.717 MB / 489 MB, free: 7.367 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)