Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001243/0.001243, allocations: 187 kB / 18.68 MB, free: 4.406 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.332/1.332, allocations: 205.1 MB / 224.6 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1685/0.1685, allocations: 37.98 MB / 309.9 MB, free: 5.949 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.001628/0.001628, allocations: 75.88 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09351, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006682/0.1002, allocations: 5.516 MB / 493.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.1025, allocations: 1.399 MB / 494.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.1028, allocations: 19.88 kB / 494.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004673/0.1033, allocations: 139 kB / 494.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008966/0.1042, allocations: 382.1 kB / 495.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1046, allocations: 147.7 kB / 495.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008805/0.1055, allocations: 0.7748 MB / 496.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.1058, allocations: 217.7 kB / 496.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.1064, allocations: 358.5 kB / 496.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00064/0.107, allocations: 402.6 kB / 497.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.985e-05/0.1071, allocations: 40 kB / 497.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1072, allocations: 40 kB / 497.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.1075, allocations: 207.3 kB / 497.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.1078, allocations: 270.6 kB / 497.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.1083, allocations: 0.5838 MB / 498.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1084, allocations: 4 kB / 498.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1084, allocations: 0 / 498.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.1084, allocations: 0 / 498.2 MB, free: 13.84 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001498/0.1099, allocations: 0.888 MB / 499.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.11, allocations: 11.89 kB / 499.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.1101, allocations: 60.28 kB / 499.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.111, allocations: 0.5102 MB / 499.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.111, allocations: 36.88 kB / 499.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.1111, allocations: 44 kB / 499.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007698/0.1118, allocations: 0.5312 MB / 0.4886 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1119, allocations: 3.938 kB / 0.4886 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.1119, allocations: 20 kB / 0.4886 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/0.112, allocations: 21 kB / 0.4886 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/0.1126, allocations: 391.6 kB / 0.489 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.115, allocations: 1.924 MB / 0.4909 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.1156, allocations: 341.2 kB / 0.4912 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.1159, allocations: 177.7 kB / 0.4914 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.1159, allocations: 4 kB / 0.4914 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003522/0.1163, allocations: 276.6 kB / 0.4917 GB, free: 8.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.1163, allocations: 4 kB / 0.4917 GB, free: 8.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.001808/0.1181, allocations: 1.179 MB / 0.4928 GB, free: 7.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.1182, allocations: 166.2 kB / 0.493 GB, free: 6.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.1186, allocations: 401.8 kB / 0.4933 GB, free: 6.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.1186, allocations: 33.7 kB / 0.4934 GB, free: 6.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.1188, allocations: 291.8 kB / 0.4937 GB, free: 6.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.119, allocations: 122.3 kB / 0.4938 GB, free: 6.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.1191, allocations: 102.1 kB / 0.4939 GB, free: 5.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.1194, allocations: 354.8 kB / 0.4942 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.1196, allocations: 121 kB / 0.4943 GB, free: 5.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.1199, allocations: 290.1 kB / 0.4946 GB, free: 5.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.1205, allocations: 479.6 kB / 0.4951 GB, free: 4.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1205, allocations: 4 kB / 0.4951 GB, free: 4.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000724/0.1213, allocations: 0.5183 MB / 0.4956 GB, free: 3.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.1213, allocations: 37.69 kB / 0.4956 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1213, allocations: 4.688 kB / 0.4956 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.1214, allocations: 12 kB / 0.4956 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.1218, allocations: 111.8 kB / 0.4957 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.1218, allocations: 11.94 kB / 0.4957 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.1221, allocations: 27.97 kB / 0.4958 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/0.1221, allocations: 27.98 kB / 0.4958 GB, free: 3.754 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.1224, allocations: 247.3 kB / 0.496 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.1224, allocations: 51.38 kB / 0.4961 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007271/0.1232, allocations: 455.2 kB / 0.4965 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1232, allocations: 0 / 0.4965 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1232, allocations: 0 / 0.4965 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.1234, allocations: 148.4 kB / 0.4967 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/0.1235, allocations: 8 kB / 0.4967 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.1237, allocations: 19.92 kB / 0.4967 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.1238, allocations: 19.97 kB / 0.4967 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009783/0.1248, allocations: 0.6375 MB / 0.4973 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001014/0.1258, allocations: 0.8509 MB / 0.4982 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002606/0.1261, allocations: 184.5 kB / 0.4983 GB, free: 1.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003082/0.1264, allocations: 279.2 kB / 0.4986 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of Backend: time 7.82e-07/0.1264, allocations: 4 kB / 0.4986 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008899/0.1273, allocations: 362.6 kB / 0.4989 GB, free: 424 kB / 382.1 MB Notification: Performance of SimCode: time 0.001959/0.1293, allocations: 1.439 MB / 0.5003 GB, free: 14.91 MB / 398.1 MB Notification: Performance of Templates: time 0.01035/0.1396, allocations: 4.882 MB / 0.5051 GB, free: 10.02 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)