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.001219/0.001219, allocations: 112.6 kB / 16.51 MB, free: 6.707 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.001747/0.001748, 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.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1797/0.1797, allocations: 38.03 MB / 329.3 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 61.27 kB / 398.1 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1153, allocations: 58.06 MB / 456.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008808/0.1242, allocations: 6.548 MB / 462.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.1274, allocations: 1.624 MB / 464.3 MB, free: 252 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006558/0.1281, allocations: 43.69 kB / 464.4 MB, free: 208 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.1287, allocations: 111.3 kB / 464.5 MB, free: 96 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.13, allocations: 346.6 kB / 464.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.1305, allocations: 115.9 kB / 464.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.1326, allocations: 1.138 MB / 466.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005668/0.1332, allocations: 169.3 kB / 466.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000945/0.1341, allocations: 290.6 kB / 466.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.1353, allocations: 406.6 kB / 466.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.1355, allocations: 28 kB / 466.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.1358, allocations: 24 kB / 467 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.1361, allocations: 191.5 kB / 467.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.1366, allocations: 234.8 kB / 467.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.1372, allocations: 0.5099 MB / 467.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1372, allocations: 4 kB / 467.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1372, allocations: 0 / 467.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.1372, allocations: 0 / 467.9 MB, free: 12.66 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.0017/0.139, allocations: 0.793 MB / 468.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.139, allocations: 12.03 kB / 468.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1391, allocations: 56.27 kB / 468.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/0.14, allocations: 452.5 kB / 469.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.14, allocations: 36.94 kB / 469.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.1401, allocations: 40 kB / 469.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008536/0.141, allocations: 0.5 MB / 469.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.141, allocations: 8 kB / 469.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.1411, allocations: 16 kB / 469.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.1411, allocations: 17 kB / 469.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006799/0.1418, allocations: 371.6 kB / 470.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.1447, allocations: 2.079 MB / 472.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.1451, allocations: 237.3 kB / 472.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.1454, allocations: 133.1 kB / 472.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1454, allocations: 4 kB / 472.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1455, allocations: 38.56 kB / 472.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.404e-06/0.1455, allocations: 0 / 472.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001367/0.1469, allocations: 0.7616 MB / 473.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1469, allocations: 81.05 kB / 473.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004073/0.1473, allocations: 385.4 kB / 473.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1474, allocations: 25.7 kB / 473.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.1476, allocations: 303.1 kB / 474.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.1477, allocations: 82.84 kB / 474.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.1478, allocations: 74.05 kB / 474.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1479, allocations: 354.7 kB / 474.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.1481, allocations: 84.81 kB / 474.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.1483, allocations: 285.2 kB / 475 MB, free: 5.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.1488, allocations: 403.2 kB / 475.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1488, allocations: 0 / 475.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007072/0.1495, allocations: 460.2 kB / 475.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1496, allocations: 8 kB / 475.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1496, allocations: 4 kB / 475.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.1498, allocations: 56.77 kB / 476 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.1501, allocations: 83.84 kB / 476 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.1514, allocations: 1.504 MB / 477.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1516, allocations: 15.91 kB / 477.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.1516, allocations: 20 kB / 477.6 MB, free: 2.242 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.0002228/0.1519, allocations: 209.7 kB / 477.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.1519, allocations: 39.53 kB / 477.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.1523, allocations: 237.1 kB / 478.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1523, allocations: 0 / 478.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1523, allocations: 7.938 kB / 478.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1523, allocations: 0 / 478.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/0.1532, allocations: 0.6749 MB / 478.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1532, allocations: 4.031 kB / 478.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.1534, allocations: 51.91 kB / 478.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1534, allocations: 0 / 478.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1535, allocations: 7.938 kB / 478.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1535, allocations: 4 kB / 478.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1535, allocations: 192 / 478.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.154, allocations: 436.7 kB / 479.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1541, allocations: 128.6 kB / 479.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.1541, allocations: 15.92 kB / 479.4 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1543, allocations: 4 kB / 479.4 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.1543, allocations: 11.98 kB / 479.4 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1543, allocations: 8 kB / 479.4 MB, free: 320 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002582/0.1546, allocations: 259.1 kB / 479.6 MB, free: 60 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1546, allocations: 0 / 479.6 MB, free: 60 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004706/0.1551, allocations: 92.11 kB / 479.7 MB, free: 15.96 MB / 366.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.0001208/0.1552, allocations: 95.25 kB / 479.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007126/0.1559, allocations: 406.3 kB / 480.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.156, allocations: 0 / 480.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.1561, allocations: 91.84 kB / 480.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.1567, allocations: 89.88 kB / 480.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1581, allocations: 1.021 MB / 481.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.1586, allocations: 0.8509 MB / 482.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002524/0.1588, allocations: 88.12 kB / 482.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.1589, allocations: 31.44 kB / 482.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1589, allocations: 0 / 482.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of Templates: time 0.008112/0.167, allocations: 3.406 MB / 485.8 MB, free: 9.867 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)