Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 114.3 kB / 17.75 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.001301/0.001301, allocations: 189.3 kB / 18.68 MB, free: 4.402 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.346/1.346, allocations: 205.1 MB / 224.6 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.1815/0.1815, allocations: 37.99 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.001484/0.001484, allocations: 72.45 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09363, allocations: 55.25 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.00643/0.1001, allocations: 4.698 MB / 492.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.1024, allocations: 1.399 MB / 493.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003374/0.1028, allocations: 11.94 kB / 493.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.1041, allocations: 414.2 kB / 494.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006045/0.1047, allocations: 230.7 kB / 494.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.1052, allocations: 179.6 kB / 494.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.1059, allocations: 0.5451 MB / 495.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005148/0.1064, allocations: 345.8 kB / 495.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/0.1069, allocations: 262.9 kB / 495.8 MB, free: 252 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004829/0.1074, allocations: 271 kB / 496.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.276e-05/0.1075, allocations: 32 kB / 496.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.1078, allocations: 123.8 kB / 496.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.1081, allocations: 187.5 kB / 496.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.1083, allocations: 226.9 kB / 496.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006784/0.109, allocations: 0.5334 MB / 497.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.109, allocations: 0 / 497.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.109, allocations: 0 / 497.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.1091, allocations: 0 / 497.2 MB, free: 14.89 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001268/0.1103, allocations: 0.7145 MB / 497.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1104, allocations: 15.83 kB / 497.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007282/0.1111, allocations: 84.31 kB / 498 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007094/0.1119, allocations: 420.1 kB / 498.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.1119, allocations: 29.38 kB / 498.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.112, allocations: 40.12 kB / 498.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.1127, allocations: 484.7 kB / 499 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.1127, allocations: 11.98 kB / 499 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.1128, allocations: 8 kB / 499 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.1129, allocations: 32.98 kB / 499 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.1135, allocations: 343.7 kB / 499.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.1157, allocations: 1.621 MB / 0.4892 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.116, allocations: 177.1 kB / 0.4894 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1162, allocations: 109.7 kB / 0.4895 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1162, allocations: 4 kB / 0.4895 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1163, allocations: 42.44 kB / 0.4895 GB, free: 10.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.984e-06/0.1163, allocations: 0 / 0.4895 GB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001326/0.1176, allocations: 0.7885 MB / 0.4903 GB, free: 9.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.1176, allocations: 85.05 kB / 0.4904 GB, free: 9.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.118, allocations: 300.5 kB / 0.4907 GB, free: 9.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.118, allocations: 29.7 kB / 0.4907 GB, free: 9.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1182, allocations: 259.5 kB / 0.491 GB, free: 9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.1182, allocations: 67 kB / 0.491 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.1183, allocations: 65.73 kB / 0.4911 GB, free: 8.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1185, allocations: 346.8 kB / 0.4914 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1186, allocations: 95.64 kB / 0.4915 GB, free: 8.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.1188, allocations: 200.8 kB / 0.4917 GB, free: 8.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.1193, allocations: 324.5 kB / 0.492 GB, free: 7.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1193, allocations: 4 kB / 0.492 GB, free: 7.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008296/0.1201, allocations: 425.2 kB / 0.4924 GB, free: 7.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.1201, allocations: 8.438 kB / 0.4924 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005592/0.1207, allocations: 268.4 kB / 0.4927 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003979/0.1211, allocations: 76.78 kB / 0.4928 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.1214, allocations: 63.91 kB / 0.4928 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.1232, allocations: 1.723 MB / 0.4945 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.1235, allocations: 15.94 kB / 0.4945 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.1235, allocations: 8.062 kB / 0.4945 GB, free: 5.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.1237, allocations: 197.7 kB / 0.4947 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.1238, allocations: 31.62 kB / 0.4947 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.1242, allocations: 264.6 kB / 0.495 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1242, allocations: 4 kB / 0.495 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1242, allocations: 0 / 0.495 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/0.1243, allocations: 108.7 kB / 0.4951 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.1243, allocations: 11.94 kB / 0.4951 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1245, allocations: 15.94 kB / 0.4951 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.1245, allocations: 15.97 kB / 0.4951 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000674/0.1252, allocations: 436 kB / 0.4956 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005832/0.1258, allocations: 0.6106 MB / 0.4962 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001911/0.126, allocations: 100.5 kB / 0.4963 GB, free: 3.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.1263, allocations: 215.1 kB / 0.4965 GB, free: 3.039 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.1263, allocations: 0 / 0.4965 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.1274, allocations: 441.4 kB / 0.4969 GB, free: 2.59 MB / 382.1 MB Notification: Performance of SimCode: time 0.00168/0.1291, allocations: 1.325 MB / 0.4982 GB, free: 1.219 MB / 382.1 MB Notification: Performance of Templates: time 0.009718/0.1388, allocations: 4.55 MB / 0.5026 GB, free: 12.66 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)