Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001188/0.001188, allocations: 110.2 kB / 17.06 MB, free: 6.023 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.001129/0.00113, allocations: 191 kB / 18 MB, free: 5.105 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.815/1.815, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.00126/0.00126, allocations: 51.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1362, allocations: 46.61 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005346/0.1416, allocations: 3.73 MB / 378.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3214/0.4631, allocations: 1.054 MB / 379.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007742/0.4639, allocations: 21.22 kB / 379.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.4645, allocations: 149.3 kB / 379.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.4657, allocations: 291.1 kB / 379.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.4662, allocations: 136.6 kB / 379.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.4683, allocations: 1.447 MB / 381.3 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.4704, allocations: 1.147 MB / 382.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.4717, allocations: 0.6403 MB / 383.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.4732, allocations: 0.773 MB / 383.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002644/0.4735, allocations: 159.5 kB / 384 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.4738, allocations: 159.2 kB / 384.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005367/0.4743, allocations: 463.5 kB / 384.6 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.4754, allocations: 0.7383 MB / 385.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003558/0.479, allocations: 2.064 MB / 387.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.479, allocations: 1.406 kB / 387.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.479, allocations: 0 / 387.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.504e-05/0.4791, allocations: 0 / 387.4 MB, free: 7.449 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.00454/0.4837, allocations: 1.681 MB / 389.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/0.4837, allocations: 10.34 kB / 389.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.4841, allocations: 142.8 kB / 389.2 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.4857, allocations: 0.8312 MB / 390.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/0.4858, allocations: 84.41 kB / 390.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.486, allocations: 112.4 kB / 390.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.4894, allocations: 1.567 MB / 391.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.4895, allocations: 5.188 kB / 391.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.4896, allocations: 45.44 kB / 391.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.25e-05/0.4897, allocations: 28.12 kB / 391.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.4925, allocations: 1.325 MB / 393.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008704/0.5013, allocations: 4.28 MB / 397.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.5027, allocations: 1.334 MB / 398.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.5037, allocations: 0.5156 MB / 399.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.5038, allocations: 10.16 kB / 399.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.5038, allocations: 38.69 kB / 399.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 3.056e-06/0.5039, allocations: 0 / 399.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.002003/0.5059, allocations: 0.8748 MB / 400.3 MB, free: 480 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.5059, allocations: 56.44 kB / 400.3 MB, free: 416 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.5077, allocations: 0.8236 MB / 401.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.002e-05/0.5078, allocations: 37.23 kB / 401.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006155/0.5084, allocations: 0.5404 MB / 401.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.5086, allocations: 180.9 kB / 401.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.5088, allocations: 107.2 kB / 402 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002751/0.5091, allocations: 392.2 kB / 402.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.5097, allocations: 299.7 kB / 402.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.5104, allocations: 388.7 kB / 403.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.5115, allocations: 0.6994 MB / 403.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.5115, allocations: 1.188 kB / 403.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001797/0.5133, allocations: 0.8206 MB / 404.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.5134, allocations: 5.062 kB / 404.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.5134, allocations: 2.344 kB / 404.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.201e-05/0.5135, allocations: 13.36 kB / 404.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.5142, allocations: 147.5 kB / 404.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.5142, allocations: 5.312 kB / 404.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006951/0.5149, allocations: 59.53 kB / 404.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.515, allocations: 26.5 kB / 404.9 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.001356/0.5164, allocations: 462.4 kB / 405.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.5166, allocations: 74.56 kB / 405.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.5169, allocations: 90.17 kB / 405.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.517, allocations: 3.906 kB / 405.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/0.517, allocations: 1.781 kB / 405.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.517, allocations: 3.984 kB / 405.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/0.5213, allocations: 1.939 MB / 407.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.5213, allocations: 5.219 kB / 407.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006651/0.522, allocations: 114.2 kB / 407.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.039e-05/0.522, allocations: 2.656 kB / 407.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/0.5221, allocations: 21.52 kB / 407.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.44e-05/0.5221, allocations: 2.906 kB / 407.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.5221, allocations: 1.875 kB / 407.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.5244, allocations: 1.13 MB / 408.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.5248, allocations: 169.2 kB / 408.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.525, allocations: 13.5 kB / 408.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.5255, allocations: 55.45 kB / 408.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.5257, allocations: 40.91 kB / 409 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.5257, allocations: 16.38 kB / 409 MB, free: 10.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001216/0.527, allocations: 0.5874 MB / 409.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.527, allocations: 4 kB / 409.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001363/0.5283, allocations: 280.9 kB / 409.8 MB, free: 10.49 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.0002377/0.5286, allocations: 117.7 kB / 410 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.5298, allocations: 0.6487 MB / 410.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.5298, allocations: 4.125 kB / 410.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.5303, allocations: 326.2 kB / 410.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000963/0.5313, allocations: 181.6 kB / 411.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.5361, allocations: 2.283 MB / 413.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.5373, allocations: 1.336 MB / 414.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007758/0.5381, allocations: 205.8 kB / 414.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.5383, allocations: 51.44 kB / 415 MB, free: 5.395 MB / 334.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5384, allocations: 3.938 kB / 415 MB, free: 5.391 MB / 334.1 MB Notification: Performance of Templates: time 0.02307/0.5614, allocations: 10.15 MB / 425.1 MB, free: 11.25 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)