Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") 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: 106 kB / 16.62 MB, free: 6.805 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.001249/0.001249, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.375/1.375, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1726/0.1726, allocations: 38.03 MB / 329.4 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 65.45 kB / 398.3 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1167, allocations: 58.06 MB / 456.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007957/0.1247, allocations: 6.544 MB / 462.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003067/0.1278, allocations: 1.617 MB / 464.5 MB, free: 236 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.1282, allocations: 39.75 kB / 464.5 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.1287, allocations: 115.3 kB / 464.7 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009151/0.1297, allocations: 346.7 kB / 465 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.13, allocations: 123.8 kB / 465.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007609/0.1308, allocations: 0.7475 MB / 465.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003276/0.1311, allocations: 208.1 kB / 466.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.1316, allocations: 334.5 kB / 466.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006605/0.1322, allocations: 394.7 kB / 466.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.1323, allocations: 43.94 kB / 466.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.901e-05/0.1324, allocations: 40 kB / 466.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.1326, allocations: 187.5 kB / 467 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.1329, allocations: 258.6 kB / 467.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.1335, allocations: 0.5099 MB / 467.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1335, allocations: 0 / 467.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1336, allocations: 0 / 467.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1336, allocations: 0 / 467.8 MB, free: 12.91 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001417/0.135, allocations: 0.8086 MB / 468.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1351, allocations: 11.89 kB / 468.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.1352, allocations: 60.28 kB / 468.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.1358, allocations: 456.5 kB / 469.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.1359, allocations: 32.94 kB / 469.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/0.1359, allocations: 40 kB / 469.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/0.1367, allocations: 0.4922 MB / 469.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1367, allocations: 3.938 kB / 469.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.1367, allocations: 19.98 kB / 469.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.1368, allocations: 28.98 kB / 469.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005758/0.1374, allocations: 363.7 kB / 470.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.1398, allocations: 2.075 MB / 472.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.1402, allocations: 249.2 kB / 472.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.1405, allocations: 135.4 kB / 472.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.1405, allocations: 0 / 472.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1405, allocations: 34.56 kB / 472.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.142e-06/0.1405, allocations: 4 kB / 472.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001277/0.1418, allocations: 0.7597 MB / 473.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.1419, allocations: 81.11 kB / 473.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.1423, allocations: 385.4 kB / 473.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1424, allocations: 29.7 kB / 473.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.1426, allocations: 291.1 kB / 474.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.709e-05/0.1427, allocations: 86.84 kB / 474.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.1428, allocations: 78.05 kB / 474.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.143, allocations: 350.8 kB / 474.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.1432, allocations: 88.81 kB / 474.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.1435, allocations: 273.2 kB / 475 MB, free: 5.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.144, allocations: 415.1 kB / 475.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.144, allocations: 4 kB / 475.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007345/0.1447, allocations: 457.9 kB / 475.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.1448, allocations: 8 kB / 475.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.1448, allocations: 8 kB / 475.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.145, allocations: 52.83 kB / 475.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.1453, allocations: 79.84 kB / 476 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.1469, allocations: 1.606 MB / 477.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.1472, allocations: 27.95 kB / 477.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.1472, allocations: 16 kB / 477.6 MB, free: 2.352 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002431/0.1474, allocations: 209.6 kB / 477.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.1475, allocations: 39.47 kB / 477.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.1479, allocations: 239.5 kB / 478.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1479, allocations: 4 kB / 478.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.1479, allocations: 0 / 478.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1479, allocations: 7.984 kB / 478.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.1487, allocations: 0.6857 MB / 478.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1488, allocations: 0 / 478.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.149, allocations: 47.97 kB / 478.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.149, allocations: 4 kB / 478.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.149, allocations: 0 / 478.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.149, allocations: 7.984 kB / 478.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.149, allocations: 0 / 478.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.1495, allocations: 441.3 kB / 479.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1497, allocations: 124.7 kB / 479.4 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.1497, allocations: 0 / 479.4 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.1498, allocations: 8 kB / 479.4 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1499, allocations: 19.97 kB / 479.4 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.1499, allocations: 4 kB / 479.4 MB, free: 432 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002507/0.1502, allocations: 259.2 kB / 479.7 MB, free: 172 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1502, allocations: 0 / 479.7 MB, free: 172 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.1506, allocations: 88 kB / 479.8 MB, free: 84 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.1508, allocations: 103.2 kB / 479.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.1515, allocations: 421.8 kB / 480.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1515, allocations: 0 / 480.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.1517, allocations: 95.83 kB / 480.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.1523, allocations: 104.6 kB / 480.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.1537, allocations: 1.007 MB / 481.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.1542, allocations: 0.8622 MB / 482.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.1544, allocations: 80.12 kB / 482.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.1545, allocations: 35.44 kB / 482.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1545, allocations: 0 / 482.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of Templates: time 0.007735/0.1622, allocations: 3.563 MB / 486 MB, free: 9.785 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)