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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001173/0.001173, allocations: 114.9 kB / 17.74 MB, free: 5.324 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.001185/0.001186, allocations: 188.5 kB / 18.67 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1686/0.1686, allocations: 37.97 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/0.09243, allocations: 55.25 MB / 487.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005979/0.09845, allocations: 5.5 MB / 493.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1003, allocations: 1.341 MB / 494.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.1005, allocations: 19.88 kB / 494.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.1009, allocations: 135 kB / 494.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006467/0.1016, allocations: 374.2 kB / 495.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.1018, allocations: 139.8 kB / 495.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007243/0.1026, allocations: 0.7476 MB / 496 MB, free: 48 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.1028, allocations: 200.1 kB / 496.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.1032, allocations: 342.5 kB / 496.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.1037, allocations: 382.7 kB / 496.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.1038, allocations: 40 kB / 497 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.116e-05/0.1039, allocations: 36 kB / 497 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.1041, allocations: 187.5 kB / 497.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.1043, allocations: 254.7 kB / 497.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.1048, allocations: 0.5293 MB / 498 MB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1048, allocations: 4 kB / 498 MB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1048, allocations: 3.938 kB / 498 MB, free: 14.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1048, allocations: 0 / 498 MB, free: 14.09 MB / 382.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.001156/0.106, allocations: 0.7931 MB / 498.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.106, allocations: 15.89 kB / 498.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.1061, allocations: 52.28 kB / 498.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.1068, allocations: 488.3 kB / 499.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.1068, allocations: 32.94 kB / 499.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.1069, allocations: 43.98 kB / 499.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.1076, allocations: 0.4922 MB / 499.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1076, allocations: 7.922 kB / 499.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.1076, allocations: 20 kB / 499.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.1077, allocations: 20.98 kB / 499.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.1082, allocations: 367.7 kB / 0.4886 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.1103, allocations: 2.075 MB / 0.4906 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.1107, allocations: 237.3 kB / 0.4908 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.1109, allocations: 129.7 kB / 0.4909 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1109, allocations: 4 kB / 0.4909 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.111, allocations: 34.56 kB / 0.491 GB, free: 9.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.111, allocations: 0 / 0.491 GB, free: 9.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001082/0.1121, allocations: 0.7581 MB / 0.4917 GB, free: 8.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1121, allocations: 89.11 kB / 0.4918 GB, free: 8.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.1124, allocations: 381.4 kB / 0.4922 GB, free: 7.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1125, allocations: 29.7 kB / 0.4922 GB, free: 7.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.1126, allocations: 283.1 kB / 0.4925 GB, free: 7.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.1127, allocations: 82.84 kB / 0.4925 GB, free: 7.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.1128, allocations: 86.03 kB / 0.4926 GB, free: 7.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1129, allocations: 346.8 kB / 0.4929 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.113, allocations: 88.83 kB / 0.493 GB, free: 6.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.1133, allocations: 273.2 kB / 0.4933 GB, free: 6.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.1137, allocations: 416.3 kB / 0.4937 GB, free: 5.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1137, allocations: 0 / 0.4937 GB, free: 5.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006255/0.1143, allocations: 457.2 kB / 0.4941 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1143, allocations: 8 kB / 0.4941 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1143, allocations: 4 kB / 0.4941 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.1145, allocations: 53.42 kB / 0.4942 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.1148, allocations: 91.83 kB / 0.4943 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.116, allocations: 1.618 MB / 0.4959 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.1162, allocations: 12 kB / 0.4959 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.1163, allocations: 20 kB / 0.4959 GB, free: 3.531 MB / 382.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.0001865/0.1165, allocations: 205.6 kB / 0.4961 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.1165, allocations: 39.47 kB / 0.4961 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.1169, allocations: 237 kB / 0.4963 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1169, allocations: 4 kB / 0.4963 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.1169, allocations: 4.062 kB / 0.4963 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1169, allocations: 7.922 kB / 0.4964 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/0.1177, allocations: 0.6955 MB / 0.497 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1177, allocations: 0 / 0.497 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.1179, allocations: 47.91 kB / 0.4971 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.1179, allocations: 7.984 kB / 0.4971 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1179, allocations: 8.062 kB / 0.4971 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.118, allocations: 4 kB / 0.4971 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.118, allocations: 3.984 kB / 0.4971 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.1184, allocations: 429.9 kB / 0.4975 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.1185, allocations: 120.6 kB / 0.4976 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.1185, allocations: 12.19 kB / 0.4976 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1187, allocations: 12 kB / 0.4977 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.1187, allocations: 7.984 kB / 0.4977 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.1187, allocations: 12 kB / 0.4977 GB, free: 1.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.119, allocations: 255.1 kB / 0.4979 GB, free: 1.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.119, allocations: 0 / 0.4979 GB, free: 1.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003866/0.1194, allocations: 92 kB / 0.498 GB, free: 1.234 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 9.737e-05/0.1195, allocations: 111.1 kB / 0.4981 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005587/0.12, allocations: 384.1 kB / 0.4985 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.12, allocations: 0 / 0.4985 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1202, allocations: 92.33 kB / 0.4986 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.1207, allocations: 97.3 kB / 0.4987 GB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1219, allocations: 0.8923 MB / 0.4995 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.1223, allocations: 0.8662 MB / 0.5004 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.1224, allocations: 31.44 kB / 0.5004 GB, free: 14.69 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1224, allocations: 0 / 0.5004 GB, free: 14.69 MB / 398.1 MB Notification: Performance of Templates: time 0.007407/0.1298, allocations: 6.021 MB / 0.5063 GB, free: 8.652 MB / 398.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)