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.001376/0.001376, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001635/0.001635, allocations: 172.7 kB / 15.95 MB, free: 208 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.534/1.534, allocations: 205.4 MB / 222.1 MB, free: 5.457 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.0004299/0.0004299, allocations: 8 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2555, allocations: 47.59 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004338/0.2599, allocations: 3.965 MB / 330.4 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.2635, allocations: 1.61 MB / 332.1 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.2639, allocations: 18.34 kB / 332.1 MB, free: 13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.2645, allocations: 199.5 kB / 332.3 MB, free: 12.85 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.266, allocations: 0.5798 MB / 332.8 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.2664, allocations: 164.1 kB / 333 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.2688, allocations: 1.966 MB / 335 MB, free: 10.96 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.2698, allocations: 0.8657 MB / 335.8 MB, free: 10.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009102/0.2707, allocations: 0.5914 MB / 336.4 MB, free: 9.492 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000973/0.2717, allocations: 0.8211 MB / 337.2 MB, free: 8.668 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.2719, allocations: 84 kB / 337.3 MB, free: 8.586 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005155/0.2724, allocations: 211.8 kB / 337.5 MB, free: 8.379 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003714/0.2728, allocations: 414.6 kB / 337.9 MB, free: 7.973 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.2731, allocations: 324.9 kB / 338.3 MB, free: 7.648 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.2749, allocations: 2.023 MB / 340.3 MB, free: 5.621 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.2749, allocations: 8 kB / 340.3 MB, free: 5.613 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.275, allocations: 0 / 340.3 MB, free: 5.613 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.275, allocations: 0 / 340.3 MB, free: 5.613 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.003896/0.2789, allocations: 1.922 MB / 342.2 MB, free: 3.637 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.2789, allocations: 8.031 kB / 342.2 MB, free: 3.629 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.2807, allocations: 377.6 kB / 342.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.2823, allocations: 1.005 MB / 343.6 MB, free: 2.207 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/0.2824, allocations: 98.67 kB / 343.7 MB, free: 2.109 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.2826, allocations: 132 kB / 343.8 MB, free: 1.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/0.2857, allocations: 1.89 MB / 345.7 MB, free: 60 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.2857, allocations: 7.984 kB / 345.7 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.2859, allocations: 52 kB / 345.8 MB, free: 0 / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.286, allocations: 53.92 kB / 345.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.2887, allocations: 1.699 MB / 347.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008353/0.2971, allocations: 5.634 MB / 353.2 MB, free: 8.395 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.3002, allocations: 2.898 MB / 356.1 MB, free: 5.043 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007658/0.301, allocations: 0.5024 MB / 356.6 MB, free: 4.539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002276/0.3033, allocations: 1.544 MB / 358.1 MB, free: 2.926 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3033, allocations: 38.56 kB / 358.1 MB, free: 2.879 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.3033, allocations: 4 kB / 358.1 MB, free: 2.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.003287/0.3066, allocations: 1.478 MB / 359.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.3067, allocations: 89.11 kB / 359.7 MB, free: 1.262 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.3081, allocations: 1.02 MB / 360.7 MB, free: 236 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.3081, allocations: 37.7 kB / 360.8 MB, free: 192 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005088/0.3086, allocations: 0.6775 MB / 361.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.3088, allocations: 181.3 kB / 361.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.3088, allocations: 16 kB / 361.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.309, allocations: 334 kB / 362 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.3096, allocations: 369 kB / 362.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007459/0.3103, allocations: 0.5293 MB / 362.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/0.3111, allocations: 441.2 kB / 363.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3111, allocations: 8 kB / 363.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001657/0.3128, allocations: 1.018 MB / 364.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3128, allocations: 12 kB / 364.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3128, allocations: 4 kB / 364.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.3129, allocations: 12 kB / 364.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/0.3136, allocations: 187.6 kB / 364.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.3137, allocations: 11.98 kB / 364.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/0.3142, allocations: 95.25 kB / 364.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.3143, allocations: 27.98 kB / 364.6 MB, free: 12.21 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.0008245/0.3151, allocations: 0.5294 MB / 365.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.3152, allocations: 90.92 kB / 365.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.3166, allocations: 0.7019 MB / 366 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3166, allocations: 4 kB / 366 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.3166, allocations: 4.281 kB / 366 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3166, allocations: 0 / 366 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.3191, allocations: 1.672 MB / 367.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3191, allocations: 3.938 kB / 367.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/0.3196, allocations: 104 kB / 367.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.3201, allocations: 146.9 kB / 367.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.3201, allocations: 19.98 kB / 367.9 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/0.3231, allocations: 2.611 MB / 370.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3231, allocations: 7.938 kB / 370.5 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.3253, allocations: 1.507 MB / 372 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.3255, allocations: 188 kB / 372.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3257, allocations: 23.94 kB / 372.2 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005138/0.3262, allocations: 67.94 kB / 372.3 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3263, allocations: 51.86 kB / 372.4 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.3264, allocations: 19.98 kB / 372.4 MB, free: 4.199 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009789/0.3274, allocations: 0.7254 MB / 373.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3274, allocations: 0 / 373.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001067/0.3284, allocations: 362.4 kB / 373.5 MB, free: 3.125 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.0002611/0.3287, allocations: 131.2 kB / 373.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.3301, allocations: 0.792 MB / 374.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3301, allocations: 0 / 374.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.3312, allocations: 0.6068 MB / 375 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009322/0.3321, allocations: 171.4 kB / 375.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/0.3368, allocations: 3.339 MB / 378.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.3379, allocations: 1.495 MB / 380 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007215/0.3386, allocations: 226.7 kB / 380.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3388, allocations: 63.42 kB / 380.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3388, allocations: 7.938 kB / 380.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of Templates: time 0.02171/0.3605, allocations: 10.67 MB / 391 MB, free: 1.5 MB / 318.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)