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.001147/0.001147, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.00128/0.00128, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.0004397/0.0004398, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 47.59 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.003781/0.2373, allocations: 3.717 MB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.2401, allocations: 1.634 MB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.2403, allocations: 19.22 kB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.2408, allocations: 204.8 kB / 332 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.242, allocations: 0.5468 MB / 332.6 MB, free: 12.63 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.2424, allocations: 164.7 kB / 332.7 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.2438, allocations: 1.172 MB / 333.9 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009666/0.2448, allocations: 0.8682 MB / 334.8 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.2454, allocations: 0.5605 MB / 335.3 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007421/0.2462, allocations: 0.6926 MB / 336 MB, free: 9.918 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.2463, allocations: 88 kB / 336.1 MB, free: 9.832 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.2467, allocations: 191.8 kB / 336.3 MB, free: 9.645 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.2471, allocations: 398.8 kB / 336.7 MB, free: 9.254 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.2473, allocations: 328.9 kB / 337 MB, free: 8.926 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.2489, allocations: 2.012 MB / 339 MB, free: 6.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.2489, allocations: 0 / 339 MB, free: 6.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2489, allocations: 0 / 339 MB, free: 6.91 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.249, allocations: 4 kB / 339 MB, free: 6.906 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.003945/0.2529, allocations: 1.93 MB / 340.9 MB, free: 4.922 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.253, allocations: 12.02 kB / 341 MB, free: 4.91 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.2547, allocations: 365.7 kB / 341.3 MB, free: 4.551 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.2564, allocations: 1.005 MB / 342.3 MB, free: 3.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.847e-05/0.2565, allocations: 102.7 kB / 342.4 MB, free: 3.398 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.2567, allocations: 132 kB / 342.5 MB, free: 3.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/0.2595, allocations: 1.882 MB / 344.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.2596, allocations: 0 / 344.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.2597, allocations: 52 kB / 344.5 MB, free: 1.305 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/0.2598, allocations: 46 kB / 344.5 MB, free: 1.262 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.2623, allocations: 1.703 MB / 346.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008289/0.2706, allocations: 5.626 MB / 351.9 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.2735, allocations: 2.898 MB / 354.8 MB, free: 6.359 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002204/0.2757, allocations: 1.552 MB / 356.3 MB, free: 4.742 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2757, allocations: 38.56 kB / 356.3 MB, free: 4.695 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 1.924e-06/0.2757, allocations: 0 / 356.3 MB, free: 4.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.003012/0.2788, allocations: 1.446 MB / 357.8 MB, free: 3.223 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2788, allocations: 85.02 kB / 357.9 MB, free: 3.121 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.28, allocations: 1.013 MB / 358.9 MB, free: 2.098 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.2801, allocations: 41.7 kB / 358.9 MB, free: 2.051 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.2805, allocations: 0.6774 MB / 359.6 MB, free: 1.363 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.2806, allocations: 181.4 kB / 359.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.2807, allocations: 16 kB / 359.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2808, allocations: 334 kB / 360.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.2814, allocations: 373 kB / 360.5 MB, free: 480 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.2821, allocations: 0.5254 MB / 361 MB, free: 15.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/0.2827, allocations: 449.2 kB / 361.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2827, allocations: 0 / 361.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001507/0.2843, allocations: 1.021 MB / 362.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2843, allocations: 15.98 kB / 362.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2843, allocations: 4 kB / 362.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.2843, allocations: 8 kB / 362.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.285, allocations: 191.7 kB / 362.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.2851, allocations: 8 kB / 362.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.2856, allocations: 103.5 kB / 362.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.2856, allocations: 28 kB / 362.8 MB, free: 14.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006751/0.2863, allocations: 0.5255 MB / 363.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.2864, allocations: 90.91 kB / 363.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.2876, allocations: 0.6979 MB / 364.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.2876, allocations: 8 kB / 364.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2877, allocations: 3.938 kB / 364.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2877, allocations: 7.984 kB / 364.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.29, allocations: 1.668 MB / 365.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.29, allocations: 0 / 365.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.2904, allocations: 108 kB / 365.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003761/0.2908, allocations: 140.7 kB / 366.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.2909, allocations: 19.98 kB / 366.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.2936, allocations: 2.66 MB / 368.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2936, allocations: 0 / 368.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.2956, allocations: 1.553 MB / 370.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.2959, allocations: 195.9 kB / 370.5 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.296, allocations: 16 kB / 370.5 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.2965, allocations: 75.86 kB / 370.6 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.2966, allocations: 55.88 kB / 370.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.2967, allocations: 20.12 kB / 370.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008299/0.2975, allocations: 0.7293 MB / 371.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2975, allocations: 0 / 371.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00088/0.2984, allocations: 354.4 kB / 371.7 MB, free: 4.855 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002095/0.2986, allocations: 139.2 kB / 371.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.2998, allocations: 0.7957 MB / 372.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2998, allocations: 320 / 372.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009236/0.3008, allocations: 0.598 MB / 373.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.3015, allocations: 163.9 kB / 373.4 MB, free: 3.141 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.3054, allocations: 3.319 MB / 376.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009866/0.3064, allocations: 1.53 MB / 378.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005785/0.307, allocations: 230.7 kB / 378.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.3071, allocations: 55.44 kB / 378.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3072, allocations: 0 / 378.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of Templates: time 0.01716/0.3243, allocations: 10.65 MB / 389.2 MB, free: 3.258 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: