Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001213/0.001213, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.294/1.294, allocations: 205.1 MB / 222 MB, free: 4.75 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.00114/0.00114, allocations: 51.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.218, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005746/0.2238, allocations: 4.62 MB / 329.3 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.2275, allocations: 1.726 MB / 331 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003921/0.2279, allocations: 22.62 kB / 331 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.2286, allocations: 221.8 kB / 331.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.2302, allocations: 0.6534 MB / 331.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.2308, allocations: 205.2 kB / 332.1 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00265/0.2334, allocations: 2.162 MB / 334.3 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.2346, allocations: 1.055 MB / 335.3 MB, free: 9.434 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008391/0.2354, allocations: 0.6731 MB / 336 MB, free: 8.758 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009946/0.2364, allocations: 0.9378 MB / 336.9 MB, free: 7.816 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.2367, allocations: 120 kB / 337.1 MB, free: 7.699 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006492/0.2373, allocations: 239.8 kB / 337.3 MB, free: 7.465 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004011/0.2377, allocations: 474.5 kB / 337.8 MB, free: 7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000759/0.2385, allocations: 0.8162 MB / 338.6 MB, free: 6.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.2404, allocations: 2.478 MB / 341.1 MB, free: 3.695 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2404, allocations: 4 kB / 341.1 MB, free: 3.691 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2404, allocations: 0 / 341.1 MB, free: 3.691 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.2404, allocations: 0 / 341.1 MB, free: 3.691 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00438/0.2448, allocations: 2.171 MB / 343.2 MB, free: 1.465 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2449, allocations: 12.03 kB / 343.2 MB, free: 1.453 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.2466, allocations: 366.6 kB / 343.6 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.2482, allocations: 1.036 MB / 344.6 MB, free: 16 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.481e-05/0.2483, allocations: 107 kB / 344.7 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.2485, allocations: 136.1 kB / 344.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.2515, allocations: 1.89 MB / 346.8 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.2515, allocations: 0 / 346.8 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.2517, allocations: 52 kB / 346.8 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.2517, allocations: 49.94 kB / 346.9 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.2543, allocations: 1.691 MB / 348.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00789/0.2622, allocations: 5.575 MB / 354.1 MB, free: 6.273 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/0.265, allocations: 2.908 MB / 357 MB, free: 2.914 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/0.2657, allocations: 0.4943 MB / 357.5 MB, free: 2.418 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002157/0.2679, allocations: 1.537 MB / 359.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2679, allocations: 46.5 kB / 359.1 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.395e-06/0.2679, allocations: 0 / 359.1 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.003085/0.271, allocations: 1.412 MB / 360.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.2711, allocations: 88.98 kB / 360.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.2723, allocations: 1.036 MB / 361.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.2724, allocations: 33.7 kB / 361.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.2728, allocations: 0.6774 MB / 362.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.273, allocations: 189.3 kB / 362.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.2732, allocations: 126.2 kB / 362.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2733, allocations: 334 kB / 363 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005655/0.2739, allocations: 361 kB / 363.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.2746, allocations: 0.5093 MB / 363.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.2758, allocations: 0.8711 MB / 364.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2758, allocations: 4 kB / 364.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001594/0.2774, allocations: 1.009 MB / 365.7 MB, free: 9.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2775, allocations: 8 kB / 365.7 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2775, allocations: 4 kB / 365.7 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.2775, allocations: 11.94 kB / 365.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/0.2783, allocations: 192.2 kB / 365.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.2783, allocations: 11.94 kB / 366 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.2788, allocations: 79.33 kB / 366 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.2789, allocations: 24 kB / 366.1 MB, free: 9.574 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.0008409/0.2797, allocations: 0.5209 MB / 366.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.2799, allocations: 86.97 kB / 366.7 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.2812, allocations: 0.6978 MB / 367.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2812, allocations: 8 kB / 367.4 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.2812, allocations: 4.281 kB / 367.4 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.2812, allocations: 7.922 kB / 367.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.2835, allocations: 1.648 MB / 369 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2836, allocations: 3.938 kB / 369 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.284, allocations: 103.8 kB / 369.1 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.2844, allocations: 151 kB / 369.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.2845, allocations: 19.98 kB / 369.3 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/0.2874, allocations: 2.616 MB / 371.9 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2874, allocations: 4.031 kB / 371.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.2896, allocations: 1.48 MB / 373.4 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.2898, allocations: 184 kB / 373.6 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.2899, allocations: 19.98 kB / 373.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/0.2905, allocations: 59.94 kB / 373.7 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.2906, allocations: 55.86 kB / 373.7 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.2907, allocations: 19.98 kB / 373.7 MB, free: 1.621 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009721/0.2916, allocations: 0.7293 MB / 374.5 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2916, allocations: 0 / 374.5 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00112/0.2928, allocations: 354.4 kB / 374.8 MB, free: 0.5469 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000271/0.293, allocations: 143.4 kB / 374.9 MB, free: 408 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.2944, allocations: 0.7719 MB / 375.7 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.2944, allocations: 3.984 kB / 375.7 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.2954, allocations: 0.5951 MB / 376.3 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.2964, allocations: 171.6 kB / 376.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.3006, allocations: 3.39 MB / 379.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009455/0.3016, allocations: 1.491 MB / 381.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006031/0.3022, allocations: 230.7 kB / 381.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.3023, allocations: 63.42 kB / 381.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3023, allocations: 0 / 381.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of Templates: time 0.01931/0.3217, allocations: 11.05 MB / 392.7 MB, free: 14.54 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)