Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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) 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(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001412/0.001412, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.696/1.696, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.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.001218/0.001218, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.333, allocations: 46.64 MB / 324.8 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005836/0.3389, allocations: 3.73 MB / 328.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.3415, allocations: 1.009 MB / 329.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.3417, allocations: 19.16 kB / 329.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.3422, allocations: 118.9 kB / 329.7 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008355/0.343, allocations: 257.1 kB / 330 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.3433, allocations: 115.3 kB / 330.1 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.3449, allocations: 1.404 MB / 331.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.3463, allocations: 1.116 MB / 332.6 MB, free: 12.28 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008836/0.3472, allocations: 0.623 MB / 333.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009068/0.3481, allocations: 0.7823 MB / 334 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.3483, allocations: 156 kB / 334.2 MB, free: 10.71 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.3486, allocations: 156 kB / 334.3 MB, free: 10.56 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.3489, allocations: 458.7 kB / 334.8 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008712/0.3498, allocations: 0.7272 MB / 335.5 MB, free: 9.383 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.3517, allocations: 2.019 MB / 337.5 MB, free: 7.359 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.3517, allocations: 0 / 337.5 MB, free: 7.359 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3518, allocations: 0 / 337.5 MB, free: 7.359 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.3518, allocations: 0 / 337.5 MB, free: 7.359 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003072/0.3549, allocations: 1.656 MB / 339.2 MB, free: 5.648 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.3549, allocations: 8.031 kB / 339.2 MB, free: 5.641 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.3552, allocations: 143.2 kB / 339.3 MB, free: 5.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.3564, allocations: 0.8111 MB / 340.1 MB, free: 4.645 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/0.3565, allocations: 90.59 kB / 340.2 MB, free: 4.555 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.3568, allocations: 111.9 kB / 340.3 MB, free: 4.445 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.3593, allocations: 1.533 MB / 341.9 MB, free: 2.867 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.3594, allocations: 4 kB / 341.9 MB, free: 2.863 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.3595, allocations: 44 kB / 341.9 MB, free: 2.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.3595, allocations: 28 kB / 341.9 MB, free: 2.793 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.362, allocations: 1.316 MB / 343.2 MB, free: 1.469 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006917/0.3689, allocations: 4.213 MB / 347.5 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.3702, allocations: 1.318 MB / 348.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006855/0.3709, allocations: 458.5 kB / 349.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.3709, allocations: 4.438 kB / 349.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.371, allocations: 39 kB / 349.3 MB, free: 11.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 3.597e-06/0.371, allocations: 4 kB / 349.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.003483/0.3745, allocations: 1.942 MB / 351.2 MB, free: 9.129 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.3745, allocations: 55.84 kB / 351.3 MB, free: 9.062 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3756, allocations: 0.8203 MB / 352.1 MB, free: 8.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.3757, allocations: 33.7 kB / 352.1 MB, free: 8.191 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000501/0.3762, allocations: 0.5414 MB / 352.7 MB, free: 7.641 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.3763, allocations: 177.5 kB / 352.8 MB, free: 7.465 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3765, allocations: 102.2 kB / 352.9 MB, free: 7.355 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.3767, allocations: 390.7 kB / 353.3 MB, free: 6.965 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.3773, allocations: 300.9 kB / 353.6 MB, free: 6.672 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/0.3778, allocations: 407.4 kB / 354 MB, free: 6.238 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.3789, allocations: 0.695 MB / 354.7 MB, free: 5.516 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3789, allocations: 4 kB / 354.7 MB, free: 5.512 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001392/0.3803, allocations: 0.9165 MB / 355.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3803, allocations: 4 kB / 355.6 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.3804, allocations: 4 kB / 355.6 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.3808, allocations: 116.7 kB / 355.7 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.3813, allocations: 124 kB / 355.9 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.384, allocations: 2.368 MB / 358.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.3844, allocations: 27.92 kB / 358.3 MB, free: 1.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.3845, allocations: 24.05 kB / 358.3 MB, free: 1.777 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008089/0.3853, allocations: 465.5 kB / 358.7 MB, free: 1.312 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.3854, allocations: 75.09 kB / 358.8 MB, free: 1.238 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.3856, allocations: 91.08 kB / 358.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3856, allocations: 4 kB / 358.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.3856, allocations: 0 / 358.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.3856, allocations: 7.922 kB / 358.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.3889, allocations: 2.029 MB / 360.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.389, allocations: 0 / 360.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.3893, allocations: 91.88 kB / 361 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/0.3896, allocations: 100.8 kB / 361.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.3896, allocations: 12 kB / 361.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.3919, allocations: 2.329 MB / 363.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.392, allocations: 0 / 363.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.3937, allocations: 1.208 MB / 364.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.3939, allocations: 160.2 kB / 364.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.581e-05/0.394, allocations: 15.98 kB / 364.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.3944, allocations: 43.95 kB / 364.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.3945, allocations: 48.31 kB / 364.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.3946, allocations: 20 kB / 365 MB, free: 10.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008231/0.3954, allocations: 0.5849 MB / 365.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3954, allocations: 0 / 365.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008598/0.3963, allocations: 212 kB / 365.8 MB, free: 10.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002076/0.3965, allocations: 115.1 kB / 365.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.3982, allocations: 0.9373 MB / 366.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3982, allocations: 0 / 366.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007777/0.399, allocations: 497.7 kB / 367.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.4, allocations: 186.9 kB / 367.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.4042, allocations: 2.681 MB / 370.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.4052, allocations: 1.336 MB / 371.5 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004438/0.4056, allocations: 177.8 kB / 371.7 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.4058, allocations: 55.36 kB / 371.7 MB, free: 3.941 MB / 302.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4058, allocations: 3.938 kB / 371.7 MB, free: 3.938 MB / 302.1 MB Notification: Performance of Templates: time 0.02086/0.4267, allocations: 10.36 MB / 382.1 MB, free: 9.562 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)