Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.TreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001067/0.001067, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.157/1.157, allocations: 194.2 MB / 212.2 MB, free: 2.359 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001744/0.001744, allocations: 122 kB / 256.6 MB, free: 4.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1744/0.1744, allocations: 37.95 MB / 338.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.89 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08702/0.08819, allocations: 52.18 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TreeWinding): time 0.007262/0.09549, allocations: 9.593 MB / 463.6 MB, free: 6.945 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005488/0.101, allocations: 3.508 MB / 467.1 MB, free: 3.426 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.1025, allocations: 59.62 kB / 467.1 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.1049, allocations: 0.8367 MB / 468 MB, free: 2.527 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.107, allocations: 0.8642 MB / 468.8 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1084, allocations: 0.5654 MB / 469.4 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003057/0.1114, allocations: 3.342 MB / 472.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.1125, allocations: 0.641 MB / 473.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.1138, allocations: 0.6923 MB / 474.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.1156, allocations: 1.18 MB / 475.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.1158, allocations: 72 kB / 475.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.117, allocations: 0.542 MB / 475.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008482/0.1179, allocations: 0.7521 MB / 476.6 MB, free: 9.836 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.119, allocations: 0.6995 MB / 477.3 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002609/0.1216, allocations: 1.943 MB / 479.3 MB, free: 7.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1216, allocations: 0 / 479.3 MB, free: 7.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1217, allocations: 0 / 479.3 MB, free: 7.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.679e-05/0.1217, allocations: 11.88 kB / 479.3 MB, free: 7.172 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.003743/0.1255, allocations: 1.668 MB / 481 MB, free: 5.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1255, allocations: 8.031 kB / 481 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.1272, allocations: 282.8 kB / 481.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.1289, allocations: 0.8599 MB / 482.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.263e-05/0.129, allocations: 90.78 kB / 482.2 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/0.1293, allocations: 163.7 kB / 482.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.1321, allocations: 2.076 MB / 484.4 MB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.1321, allocations: 7.938 kB / 484.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.1323, allocations: 51.97 kB / 484.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004118/0.1327, allocations: 178.5 kB / 484.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.135, allocations: 1.684 MB / 486.3 MB, free: 15.84 MB / 346.7 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.01019/0.1452, allocations: 9.403 MB / 495.7 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1463, allocations: 0.8913 MB / 496.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.1469, allocations: 444.1 kB / 497.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.979e-05/0.147, allocations: 12.64 kB / 497.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.147, allocations: 43.22 kB / 497.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 3.006e-06/0.147, allocations: 0 / 497.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=85): time 0.004693/0.1517, allocations: 3.045 MB / 0.4884 GB, free: 1.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.1518, allocations: 90.05 kB / 0.4885 GB, free: 1.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/0.1526, allocations: 0.7504 MB / 0.4893 GB, free: 456 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.1526, allocations: 37.7 kB / 0.4893 GB, free: 412 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/0.1531, allocations: 0.7073 MB / 0.49 GB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.1533, allocations: 311.7 kB / 0.4903 GB, free: 15.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.1537, allocations: 259.2 kB / 0.4905 GB, free: 15.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1538, allocations: 402.7 kB / 0.4909 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006124/0.1545, allocations: 451.7 kB / 0.4913 GB, free: 14.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009658/0.1554, allocations: 1.022 MB / 0.4923 GB, free: 12.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.1572, allocations: 1.602 MB / 0.4939 GB, free: 11.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.1572, allocations: 4 kB / 0.4939 GB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003097/0.1603, allocations: 1.962 MB / 0.4958 GB, free: 9.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.1603, allocations: 12 kB / 0.4958 GB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002076/0.1624, allocations: 1.203 MB / 0.497 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.1637, allocations: 449.1 kB / 0.4974 GB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007683/0.1645, allocations: 263.5 kB / 0.4977 GB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006544/0.1711, allocations: 5.4 MB / 0.503 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008161/0.1719, allocations: 63.91 kB / 0.503 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.1721, allocations: 64 kB / 0.5031 GB, free: 1.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,trafo3Stray.tap_2_internal[2],trafo3Stray.tap_2_internal[1],trafo3Stray.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,15,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007803/0.1729, allocations: 477 kB / 0.5035 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.1731, allocations: 86.88 kB / 0.5036 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1694/0.3425, allocations: 1.384 MB / 0.505 GB, free: 65.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.3426, allocations: 8.031 kB / 0.505 GB, free: 65.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.3426, allocations: 5.656 kB / 0.505 GB, free: 65.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/0.3426, allocations: 6.5 kB / 0.505 GB, free: 65.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005033/0.3477, allocations: 2.486 MB / 0.5074 GB, free: 64.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.3477, allocations: 4.109 kB / 0.5074 GB, free: 64.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.3483, allocations: 132 kB / 0.5076 GB, free: 64.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005522/0.3488, allocations: 187.5 kB / 0.5077 GB, free: 64.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.349, allocations: 25 kB / 0.5078 GB, free: 64.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003099/0.3521, allocations: 4.604 MB / 0.5123 GB, free: 60.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3521, allocations: 1.188 kB / 0.5123 GB, free: 60.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/0.365, allocations: 11.45 MB / 0.5234 GB, free: 52.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.3655, allocations: 222.9 kB / 0.5237 GB, free: 51.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.3657, allocations: 24.45 kB / 0.5237 GB, free: 51.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.3661, allocations: 29.25 kB / 0.5237 GB, free: 51.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.3662, allocations: 62.5 kB / 0.5238 GB, free: 51.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.653e-05/0.3663, allocations: 24.8 kB / 0.5238 GB, free: 51.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006729/0.367, allocations: 0.4911 MB / 0.5243 GB, free: 51.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.367, allocations: 0 / 0.5243 GB, free: 51.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001507/0.3685, allocations: 414.2 kB / 0.5247 GB, free: 51.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (trafo3Stray.i2a[1],trafo3Stray.i2a[2],trafo3Stray.i2a[3],trafo3Stray.i2b[1],trafo3Stray.i2b[2],trafo3Stray.i2b[3]) * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001623/0.3687, allocations: 127.3 kB / 0.5248 GB, free: 51.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002463/0.3711, allocations: 1.54 MB / 0.5263 GB, free: 50.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3712, allocations: 0 / 0.5263 GB, free: 50.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.3724, allocations: 0.8339 MB / 0.5271 GB, free: 50.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.3733, allocations: 161.2 kB / 0.5273 GB, free: 50.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006113/0.3794, allocations: 4.277 MB / 0.5314 GB, free: 47.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.3805, allocations: 1.35 MB / 0.5328 GB, free: 46.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009728/0.3815, allocations: 379.5 kB / 0.5331 GB, free: 46.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.3817, allocations: 73.28 kB / 0.5332 GB, free: 46.68 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3817, allocations: 0 / 0.5332 GB, free: 46.68 MB / 362.7 MB Notification: Performance of Templates: time 0.02041/0.4021, allocations: 13.62 MB / 0.5465 GB, free: 34.38 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe 2>&1)