Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, 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.001159/0.00116, 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.391/1.391, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1867/0.1867, allocations: 37.98 MB / 309.9 MB, free: 5.945 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.001511/0.001511, allocations: 75.88 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09284/0.09436, allocations: 55.24 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007411/0.1018, allocations: 6.52 MB / 494.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003958/0.1058, allocations: 2.485 MB / 496.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.1063, allocations: 31.81 kB / 496.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.108, allocations: 0.5989 MB / 497.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.1095, allocations: 0.6847 MB / 498.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1106, allocations: 447 kB / 498.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.1121, allocations: 1.365 MB / 499.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006024/0.1127, allocations: 487.9 kB / 0.4887 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006355/0.1134, allocations: 0.5798 MB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.1144, allocations: 0.7867 MB / 0.49 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.1145, allocations: 76 kB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005292/0.1151, allocations: 279.6 kB / 0.4903 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004685/0.1156, allocations: 0.5221 MB / 0.4908 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005349/0.1161, allocations: 0.5286 MB / 0.4914 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.1174, allocations: 1.328 MB / 0.4927 GB, free: 7.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1174, allocations: 0 / 0.4927 GB, free: 7.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1174, allocations: 4 kB / 0.4927 GB, free: 7.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1174, allocations: 0 / 0.4927 GB, free: 7.566 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002087/0.1195, allocations: 1.33 MB / 0.494 GB, free: 6.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1196, allocations: 11.89 kB / 0.494 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.1206, allocations: 203.5 kB / 0.4942 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.1218, allocations: 0.7018 MB / 0.4949 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.1219, allocations: 66.36 kB / 0.4949 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.1221, allocations: 92.11 kB / 0.495 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.1238, allocations: 1.384 MB / 0.4964 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.1238, allocations: 11.94 kB / 0.4964 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.1239, allocations: 31.98 kB / 0.4964 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002652/0.1242, allocations: 121.9 kB / 0.4965 GB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.1258, allocations: 1.093 MB / 0.4976 GB, free: 2.328 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006126/0.1319, allocations: 5.942 MB / 0.5034 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009859/0.1329, allocations: 0.709 MB / 0.5041 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.1334, allocations: 323.3 kB / 0.5044 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.1334, allocations: 12.55 kB / 0.5044 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006206/0.134, allocations: 484.5 kB / 0.5049 GB, free: 10.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.414e-06/0.134, allocations: 0 / 0.5049 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003118/0.1372, allocations: 2.152 MB / 0.507 GB, free: 8.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.1373, allocations: 162.8 kB / 0.5071 GB, free: 8.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.1379, allocations: 0.6328 MB / 0.5077 GB, free: 7.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.138, allocations: 41.69 kB / 0.5078 GB, free: 7.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.1383, allocations: 0.5251 MB / 0.5083 GB, free: 6.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.1385, allocations: 240.8 kB / 0.5085 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.1388, allocations: 198.7 kB / 0.5087 GB, free: 6.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1389, allocations: 386.8 kB / 0.5091 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.1394, allocations: 342.3 kB / 0.5094 GB, free: 5.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.1402, allocations: 0.7659 MB / 0.5101 GB, free: 4.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.1416, allocations: 1.256 MB / 0.5114 GB, free: 3.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.1416, allocations: 8 kB / 0.5114 GB, free: 3.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002343/0.144, allocations: 1.435 MB / 0.5128 GB, free: 1.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.144, allocations: 37.7 kB / 0.5128 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001391/0.1454, allocations: 0.7893 MB / 0.5136 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007057/0.1462, allocations: 261.7 kB / 0.5138 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.1468, allocations: 211.6 kB / 0.514 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004362/0.1512, allocations: 4.375 MB / 0.5183 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.1518, allocations: 51.97 kB / 0.5184 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.1519, allocations: 59.98 kB / 0.5184 GB, free: 11.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004847/0.1524, allocations: 407 kB / 0.5188 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1525, allocations: 79 kB / 0.5189 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.1538, allocations: 0.8437 MB / 0.5197 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1538, allocations: 4 kB / 0.5197 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1538, allocations: 64 / 0.5197 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.1541, allocations: 204.2 kB / 0.5199 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.21e-05/0.1542, allocations: 12 kB / 0.5199 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.1546, allocations: 31.97 kB / 0.5199 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.1547, allocations: 44.5 kB / 0.52 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001717/0.1564, allocations: 1.061 MB / 0.521 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001701/0.1581, allocations: 1.455 MB / 0.5224 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004666/0.1586, allocations: 376.4 kB / 0.5228 GB, free: 7.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004442/0.159, allocations: 427 kB / 0.5232 GB, free: 6.691 MB / 414.1 MB Notification: Performance of Backend: time 3.4e-07/0.159, allocations: 3.938 kB / 0.5232 GB, free: 6.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.161, allocations: 1.148 MB / 0.5243 GB, free: 5.492 MB / 414.1 MB Notification: Performance of SimCode: time 0.002669/0.1637, allocations: 2.256 MB / 0.5265 GB, free: 3.172 MB / 414.1 MB Notification: Performance of Templates: time 0.2308/0.3945, allocations: 11.03 MB / 0.5373 GB, free: 50.55 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)