Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 102.1 kB / 16.5 MB, free: 6.688 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.001235/0.001235, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.411/1.411, allocations: 222.9 MB / 241.1 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1737/0.1737, allocations: 38.02 MB / 329.3 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 69.06 kB / 398.1 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1143, allocations: 58.06 MB / 456.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.00697/0.1213, allocations: 5.213 MB / 461.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.1239, allocations: 1.5 MB / 462.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.1242, allocations: 23.88 kB / 462.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.1254, allocations: 382.6 kB / 463.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005541/0.1259, allocations: 239 kB / 463.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.1264, allocations: 147.8 kB / 463.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008139/0.1272, allocations: 0.8571 MB / 464.5 MB, free: 100 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.1278, allocations: 268.8 kB / 464.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.1281, allocations: 223 kB / 465 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.1286, allocations: 295 kB / 465.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.1287, allocations: 24 kB / 465.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.129, allocations: 139.7 kB / 465.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.1292, allocations: 183.5 kB / 465.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.1294, allocations: 210.9 kB / 465.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.13, allocations: 0.5061 MB / 466.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.13, allocations: 3.984 kB / 466.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.13, allocations: 0 / 466.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.13, allocations: 0 / 466.3 MB, free: 14.27 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.00127/0.1313, allocations: 0.703 MB / 467 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1313, allocations: 12.03 kB / 467 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006177/0.132, allocations: 84.33 kB / 467.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/0.1326, allocations: 391.3 kB / 467.5 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.1326, allocations: 25.36 kB / 467.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.1328, allocations: 52.09 kB / 467.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007757/0.1336, allocations: 480.8 kB / 468 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.1336, allocations: 7.844 kB / 468 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.1337, allocations: 16 kB / 468.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.1338, allocations: 24.98 kB / 468.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/0.1343, allocations: 351.7 kB / 468.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.1364, allocations: 1.729 MB / 470.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.1367, allocations: 157.1 kB / 470.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1369, allocations: 109.7 kB / 470.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1369, allocations: 4.219 kB / 470.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1369, allocations: 34.56 kB / 470.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1369, allocations: 0 / 470.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001457/0.1384, allocations: 0.8901 MB / 471.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.1385, allocations: 81.11 kB / 471.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.1388, allocations: 312.4 kB / 471.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.1388, allocations: 33.7 kB / 471.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.139, allocations: 251.6 kB / 472 MB, free: 8.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.139, allocations: 59.11 kB / 472.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/0.1391, allocations: 65.95 kB / 472.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1393, allocations: 342.8 kB / 472.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1395, allocations: 96.22 kB / 472.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.1397, allocations: 209.2 kB / 472.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.1401, allocations: 330.6 kB / 473.1 MB, free: 7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1401, allocations: 0 / 473.1 MB, free: 7 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000861/0.141, allocations: 472.9 kB / 473.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.141, allocations: 8 kB / 473.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006306/0.1417, allocations: 312.4 kB / 473.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/0.1422, allocations: 140.7 kB / 474 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.1424, allocations: 60.08 kB / 474.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.145, allocations: 2.201 MB / 476.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.1453, allocations: 19.92 kB / 476.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.1453, allocations: 16 kB / 476.3 MB, free: 3.645 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.0001976/0.1455, allocations: 181.7 kB / 476.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.1456, allocations: 31.62 kB / 476.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004423/0.146, allocations: 264.3 kB / 476.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.146, allocations: 7.938 kB / 476.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.146, allocations: 7.938 kB / 476.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.146, allocations: 0 / 476.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.1472, allocations: 0.739 MB / 477.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1472, allocations: 0 / 477.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.1474, allocations: 39.92 kB / 477.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.1475, allocations: 40.89 kB / 477.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1476, allocations: 4 kB / 477.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.1476, allocations: 0 / 477.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.1476, allocations: 7.969 kB / 477.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.1481, allocations: 446.3 kB / 478 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/0.1482, allocations: 104.8 kB / 478.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.1483, allocations: 8 kB / 478.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1484, allocations: 7.984 kB / 478.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.1485, allocations: 15.92 kB / 478.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1485, allocations: 8 kB / 478.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.1487, allocations: 215.1 kB / 478.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1487, allocations: 0 / 478.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004686/0.1492, allocations: 95.92 kB / 478.5 MB, free: 1.316 MB / 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.1494, allocations: 107.1 kB / 478.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006958/0.1501, allocations: 413.3 kB / 479 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1501, allocations: 4 kB / 479 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.1503, allocations: 173.9 kB / 479.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.1508, allocations: 64.19 kB / 479.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.1522, allocations: 1.011 MB / 480.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.1527, allocations: 0.8422 MB / 481.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1529, allocations: 62.86 kB / 481.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.1529, allocations: 23.44 kB / 481.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1529, allocations: 0 / 481.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Templates: time 0.007947/0.1609, allocations: 3.633 MB / 484.8 MB, free: 10.93 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)