Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001127/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001105/0.001105, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.35/1.35, allocations: 205.1 MB / 222 MB, free: 4.773 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.001126/0.001126, allocations: 47.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1904, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.00477/0.1952, allocations: 4.616 MB / 329.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.198, allocations: 1.726 MB / 331 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.1983, allocations: 18.53 kB / 331 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.1988, allocations: 223.5 kB / 331.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.2002, allocations: 0.6521 MB / 331.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.2007, allocations: 209.2 kB / 332.1 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.2027, allocations: 2.163 MB / 334.3 MB, free: 10.51 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.2038, allocations: 1.059 MB / 335.3 MB, free: 9.418 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006914/0.2045, allocations: 0.6693 MB / 336 MB, free: 8.746 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009599/0.2055, allocations: 0.9378 MB / 336.9 MB, free: 7.805 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.2057, allocations: 120 kB / 337.1 MB, free: 7.688 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.2062, allocations: 243.8 kB / 337.3 MB, free: 7.449 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003653/0.2066, allocations: 470.5 kB / 337.8 MB, free: 6.988 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000737/0.2073, allocations: 0.8201 MB / 338.6 MB, free: 6.164 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.2092, allocations: 2.478 MB / 341.1 MB, free: 3.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2093, allocations: 0 / 341.1 MB, free: 3.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2093, allocations: 4 kB / 341.1 MB, free: 3.676 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.343e-05/0.2093, allocations: 0 / 341.1 MB, free: 3.676 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.00414/0.2134, allocations: 2.168 MB / 343.2 MB, free: 1.453 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2135, allocations: 8.031 kB / 343.2 MB, free: 1.445 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.2152, allocations: 374.6 kB / 343.6 MB, free: 1.078 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.2167, allocations: 1.04 MB / 344.6 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.2168, allocations: 99.05 kB / 344.7 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.217, allocations: 136.1 kB / 344.9 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/0.2199, allocations: 1.886 MB / 346.8 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.22, allocations: 0 / 346.8 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.2201, allocations: 56 kB / 346.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/0.2202, allocations: 53.92 kB / 346.9 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.2228, allocations: 1.684 MB / 348.6 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007908/0.2307, allocations: 5.583 MB / 354.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.2337, allocations: 2.908 MB / 357 MB, free: 2.898 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007329/0.2345, allocations: 0.4905 MB / 357.5 MB, free: 2.406 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002129/0.2366, allocations: 1.536 MB / 359.1 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.2366, allocations: 38.56 kB / 359.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.134e-06/0.2367, allocations: 0 / 359.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.002984/0.2396, allocations: 1.412 MB / 360.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2397, allocations: 96.97 kB / 360.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.2409, allocations: 1.028 MB / 361.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.2409, allocations: 37.7 kB / 361.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.2413, allocations: 0.6774 MB / 362.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.2415, allocations: 189.3 kB / 362.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.2417, allocations: 130.2 kB / 362.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2418, allocations: 330 kB / 363 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.2424, allocations: 369 kB / 363.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/0.243, allocations: 0.5092 MB / 363.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.2442, allocations: 0.8634 MB / 364.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2443, allocations: 7.938 kB / 364.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001577/0.2458, allocations: 1.009 MB / 365.7 MB, free: 9.887 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.2459, allocations: 8 kB / 365.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2459, allocations: 4 kB / 365.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.2459, allocations: 11.94 kB / 365.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.2467, allocations: 184.2 kB / 365.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.2467, allocations: 15.92 kB / 366 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.2472, allocations: 79.34 kB / 366 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.2472, allocations: 27.98 kB / 366.1 MB, free: 9.562 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.0006572/0.2479, allocations: 0.5251 MB / 366.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.248, allocations: 86.97 kB / 366.7 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.2493, allocations: 0.694 MB / 367.4 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2493, allocations: 8 kB / 367.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.2493, allocations: 4.281 kB / 367.4 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2493, allocations: 3.938 kB / 367.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.2515, allocations: 1.66 MB / 369 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2515, allocations: 3.938 kB / 369 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/0.252, allocations: 95.88 kB / 369.1 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003966/0.2524, allocations: 151 kB / 369.3 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.2525, allocations: 19.98 kB / 369.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.2552, allocations: 2.612 MB / 371.9 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.2552, allocations: 7.969 kB / 371.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.2574, allocations: 1.48 MB / 373.4 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.2576, allocations: 184 kB / 373.6 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.2577, allocations: 19.98 kB / 373.6 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.2583, allocations: 59.94 kB / 373.7 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.2584, allocations: 55.84 kB / 373.7 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.2584, allocations: 19.98 kB / 373.7 MB, free: 1.609 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008788/0.2593, allocations: 0.7293 MB / 374.5 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2593, allocations: 0 / 374.5 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009131/0.2603, allocations: 358.4 kB / 374.8 MB, free: 0.5312 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.000221/0.2605, allocations: 143 kB / 375 MB, free: 392 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.2617, allocations: 0.7643 MB / 375.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2618, allocations: 4 kB / 375.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009922/0.2627, allocations: 0.5912 MB / 376.3 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.2637, allocations: 163.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.004109/0.2678, allocations: 3.406 MB / 379.9 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009836/0.2688, allocations: 1.495 MB / 381.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005871/0.2694, allocations: 230.7 kB / 381.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.2696, allocations: 59.42 kB / 381.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2696, allocations: 0 / 381.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of Templates: time 0.01814/0.2877, allocations: 11.05 MB / 392.7 MB, free: 14.52 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)