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.00135/0.001351, allocations: 104.8 kB / 17.74 MB, free: 5.316 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.001381/0.001381, allocations: 194.9 kB / 18.67 MB, free: 4.395 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.363/1.363, allocations: 205.1 MB / 224.6 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1744/0.1744, allocations: 37.98 MB / 309.9 MB, free: 5.941 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.001453/0.001453, allocations: 71.89 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.09767, allocations: 55.25 MB / 487.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006546/0.1043, allocations: 5.496 MB / 493.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1064, allocations: 1.353 MB / 494.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.1066, allocations: 23.81 kB / 494.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.1071, allocations: 123.1 kB / 494.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007556/0.1079, allocations: 374.2 kB / 495.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1081, allocations: 139.8 kB / 495.3 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007108/0.1089, allocations: 0.7437 MB / 496 MB, free: 44 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.1092, allocations: 196.2 kB / 496.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004478/0.1096, allocations: 350.3 kB / 496.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.1102, allocations: 378.7 kB / 496.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.184e-05/0.1102, allocations: 36 kB / 497 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.469e-05/0.1103, allocations: 36 kB / 497 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.1105, allocations: 195.5 kB / 497.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.1108, allocations: 250.7 kB / 497.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.1113, allocations: 0.5294 MB / 498 MB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1114, allocations: 3.938 kB / 498 MB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1114, allocations: 0 / 498 MB, free: 14.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1114, 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.001307/0.1127, allocations: 0.8009 MB / 498.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1127, allocations: 11.89 kB / 498.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.1128, allocations: 52.28 kB / 498.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007925/0.1136, allocations: 488.4 kB / 499.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1137, allocations: 32.94 kB / 499.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.041e-05/0.1137, allocations: 43.98 kB / 499.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.1144, allocations: 0.5 MB / 499.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1145, allocations: 4 kB / 499.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.1145, allocations: 16 kB / 499.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.1145, allocations: 17 kB / 499.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.1151, allocations: 367.6 kB / 0.4886 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.1175, allocations: 2.068 MB / 0.4906 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.118, allocations: 249.3 kB / 0.4908 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.1182, allocations: 121.7 kB / 0.4909 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1182, allocations: 7.984 kB / 0.4909 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1183, allocations: 38.5 kB / 0.491 GB, free: 9.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.674e-06/0.1183, allocations: 0 / 0.491 GB, free: 9.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001158/0.1195, allocations: 0.7541 MB / 0.4917 GB, free: 8.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.1195, allocations: 85.05 kB / 0.4918 GB, free: 8.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.1199, allocations: 385.4 kB / 0.4922 GB, free: 7.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1199, allocations: 29.7 kB / 0.4922 GB, free: 7.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1201, allocations: 283.1 kB / 0.4925 GB, free: 7.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.1202, allocations: 86.83 kB / 0.4925 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.1203, allocations: 82.03 kB / 0.4926 GB, free: 7.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1204, allocations: 350.9 kB / 0.4929 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.1206, allocations: 92.77 kB / 0.493 GB, free: 6.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.1209, allocations: 273.2 kB / 0.4933 GB, free: 6.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.1213, allocations: 412.3 kB / 0.4937 GB, free: 5.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1213, allocations: 4 kB / 0.4937 GB, free: 5.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007175/0.1221, allocations: 453 kB / 0.4941 GB, free: 5.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1221, allocations: 8.844 kB / 0.4941 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1221, allocations: 8 kB / 0.4941 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.1223, allocations: 52.83 kB / 0.4942 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.1226, allocations: 79.84 kB / 0.4943 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.1241, allocations: 1.622 MB / 0.4959 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.1243, allocations: 15.98 kB / 0.4959 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1244, allocations: 20 kB / 0.4959 GB, free: 3.527 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.000203/0.1246, allocations: 205.6 kB / 0.4961 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.1246, allocations: 39.52 kB / 0.4961 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.125, allocations: 241.2 kB / 0.4964 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-06/0.125, allocations: 4 kB / 0.4964 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.125, allocations: 7.938 kB / 0.4964 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.1252, allocations: 120.6 kB / 0.4965 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.1252, allocations: 11.98 kB / 0.4965 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1254, allocations: 4 kB / 0.4965 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1254, allocations: 11.98 kB / 0.4965 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005148/0.1259, allocations: 395.8 kB / 0.4969 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005698/0.1265, allocations: 0.5681 MB / 0.4974 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001167/0.1266, allocations: 87.92 kB / 0.4975 GB, free: 1.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002469/0.1269, allocations: 251.2 kB / 0.4978 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Backend: time 8.92e-07/0.1269, allocations: 96 / 0.4978 GB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009093/0.1278, allocations: 394 kB / 0.4981 GB, free: 1.141 MB / 382.1 MB Notification: Performance of SimCode: time 0.001721/0.1296, allocations: 1.322 MB / 0.4994 GB, free: 15.77 MB / 398.1 MB Notification: Performance of Templates: time 0.008702/0.1383, allocations: 3.974 MB / 0.5033 GB, free: 11.79 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)