Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007913/0.007913, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001569/0.001569, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.639/1.639, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.001176/0.001176, allocations: 59.91 kB / 326.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1228, allocations: 46.61 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005806/0.1287, allocations: 3.726 MB / 376.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2825/0.4112, allocations: 1.058 MB / 377.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005603/0.4118, allocations: 18 kB / 378 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.4122, allocations: 149.2 kB / 378.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.4133, allocations: 295.3 kB / 378.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.4136, allocations: 131.2 kB / 378.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.4153, allocations: 1.451 MB / 380 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.4169, allocations: 1.148 MB / 381.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.4181, allocations: 0.6318 MB / 381.7 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.4197, allocations: 0.7677 MB / 382.5 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004822/0.4202, allocations: 159.3 kB / 382.7 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.4207, allocations: 162.4 kB / 382.8 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007869/0.4215, allocations: 471.4 kB / 383.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.423, allocations: 0.7374 MB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003379/0.4264, allocations: 2.061 MB / 386.1 MB, free: 7.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4264, allocations: 1.062 kB / 386.1 MB, free: 7.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4264, allocations: 0 / 386.1 MB, free: 7.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.654e-05/0.4265, allocations: 0 / 386.1 MB, free: 7.453 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004126/0.4306, allocations: 1.684 MB / 387.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4307, allocations: 10.5 kB / 387.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.431, allocations: 142.8 kB / 387.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.4328, allocations: 0.8255 MB / 388.7 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-05/0.4329, allocations: 83.66 kB / 388.8 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.4331, allocations: 114.1 kB / 388.9 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.4363, allocations: 1.566 MB / 390.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.4363, allocations: 0 / 390.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.4364, allocations: 51.62 kB / 390.6 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.4365, allocations: 31.06 kB / 390.6 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.4391, allocations: 1.33 MB / 391.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008652/0.4478, allocations: 4.272 MB / 396.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.449, allocations: 1.331 MB / 397.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009246/0.45, allocations: 0.5258 MB / 398 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.45, allocations: 8.875 kB / 398.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4501, allocations: 38.38 kB / 398.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.965e-06/0.4501, allocations: 0 / 398.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.001735/0.4518, allocations: 0.8754 MB / 399 MB, free: 472 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4519, allocations: 57.16 kB / 399 MB, free: 408 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.4531, allocations: 0.8191 MB / 399.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.4532, allocations: 38.05 kB / 399.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/0.4537, allocations: 0.5426 MB / 400.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.4538, allocations: 177.2 kB / 400.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.4541, allocations: 102.4 kB / 400.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.4543, allocations: 392.9 kB / 401.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000532/0.4548, allocations: 303.5 kB / 401.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/0.4555, allocations: 396.6 kB / 401.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.4566, allocations: 0.6882 MB / 402.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4567, allocations: 1.656 kB / 402.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001613/0.4583, allocations: 0.8195 MB / 403.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4583, allocations: 5.562 kB / 403.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.4583, allocations: 2.438 kB / 403.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.4584, allocations: 4.906 kB / 403.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.459, allocations: 156 kB / 403.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.459, allocations: 8.562 kB / 403.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.4596, allocations: 63.78 kB / 403.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.4596, allocations: 26.97 kB / 403.5 MB, free: 13.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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.0008027/0.4604, allocations: 465.1 kB / 404 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.4606, allocations: 75.41 kB / 404.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.4608, allocations: 90.17 kB / 404.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.4608, allocations: 5.156 kB / 404.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.4608, allocations: 0 / 404.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4608, allocations: 3.984 kB / 404.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.4641, allocations: 1.939 MB / 406.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4641, allocations: 2.656 kB / 406.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/0.4646, allocations: 125.3 kB / 406.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.4646, allocations: 2.219 kB / 406.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.4647, allocations: 13.5 kB / 406.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4647, allocations: 3.094 kB / 406.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4647, allocations: 1.312 kB / 406.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.4665, allocations: 1.133 MB / 407.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.4669, allocations: 169.9 kB / 407.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/0.467, allocations: 16.11 kB / 407.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.4674, allocations: 47.45 kB / 407.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.4676, allocations: 38.2 kB / 407.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.4677, allocations: 18.98 kB / 407.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001095/0.4688, allocations: 0.5926 MB / 408.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4688, allocations: 0 / 408.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001114/0.4699, allocations: 279.6 kB / 408.5 MB, free: 10.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001983/0.4701, allocations: 119.9 kB / 408.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.4712, allocations: 0.6472 MB / 409.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4712, allocations: 0 / 409.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.4717, allocations: 330.9 kB / 409.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008751/0.4726, allocations: 182.7 kB / 409.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.4765, allocations: 2.283 MB / 412.1 MB, free: 7.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.4776, allocations: 1.34 MB / 413.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000505/0.4781, allocations: 201.8 kB / 413.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.4783, allocations: 55.42 kB / 413.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of SimCode: time 2.084e-06/0.4783, allocations: 0 / 413.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of Templates: time 0.01792/0.4962, allocations: 10.15 MB / 423.8 MB, free: 11.23 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)