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.0008266/0.0008266, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0052/0.0052, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.342/1.342, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.0004468/0.0004469, allocations: 8 kB / 279.4 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 47.58 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004304/0.2241, allocations: 4.199 MB / 331.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003138/0.2272, allocations: 1.7 MB / 332.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.2276, allocations: 22.69 kB / 333 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005742/0.2282, allocations: 225 kB / 333.2 MB, free: 12.53 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.2297, allocations: 0.6352 MB / 333.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.2302, allocations: 204.8 kB / 334 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.2325, allocations: 2.165 MB / 336.2 MB, free: 10.23 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.2337, allocations: 1.047 MB / 337.2 MB, free: 9.145 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008638/0.2346, allocations: 0.5912 MB / 337.8 MB, free: 8.551 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009552/0.2355, allocations: 0.8635 MB / 338.7 MB, free: 7.684 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.2357, allocations: 84 kB / 338.8 MB, free: 7.602 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.2362, allocations: 207.9 kB / 339 MB, free: 7.398 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.2366, allocations: 422.5 kB / 339.4 MB, free: 6.984 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007675/0.2373, allocations: 0.7827 MB / 340.2 MB, free: 6.191 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.2395, allocations: 2.407 MB / 342.6 MB, free: 3.777 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2395, allocations: 0 / 342.6 MB, free: 3.777 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2395, allocations: 0 / 342.6 MB, free: 3.777 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.2396, allocations: 0 / 342.6 MB, free: 3.777 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.003929/0.2435, allocations: 1.914 MB / 344.5 MB, free: 1.809 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2435, allocations: 8.031 kB / 344.5 MB, free: 1.801 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.2452, allocations: 370.6 kB / 344.8 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.2467, allocations: 1.044 MB / 345.9 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.2468, allocations: 103 kB / 346 MB, free: 256 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.247, allocations: 136.1 kB / 346.1 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/0.25, allocations: 1.898 MB / 348 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.25, allocations: 0 / 348 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.2502, allocations: 56 kB / 348.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/0.2502, allocations: 42 kB / 348.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/0.2529, allocations: 1.715 MB / 349.8 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008363/0.2613, allocations: 5.634 MB / 355.5 MB, free: 6.527 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.2643, allocations: 2.916 MB / 358.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/0.2651, allocations: 0.5098 MB / 358.9 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002148/0.2673, allocations: 1.536 MB / 360.4 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.2673, allocations: 38.56 kB / 360.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.525e-06/0.2673, allocations: 0 / 360.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.003253/0.2706, allocations: 1.463 MB / 361.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.2707, allocations: 93.05 kB / 362 MB, free: 15.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.2719, allocations: 1.028 MB / 363 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.272, allocations: 33.7 kB / 363.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.2725, allocations: 0.6777 MB / 363.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.2726, allocations: 185.3 kB / 363.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/0.2727, allocations: 69.67 kB / 364 MB, free: 13.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2728, allocations: 333.9 kB / 364.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/0.2735, allocations: 373 kB / 364.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/0.2742, allocations: 0.5287 MB / 365.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.2755, allocations: 0.8985 MB / 366.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2755, allocations: 3.938 kB / 366.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00167/0.2772, allocations: 1.029 MB / 367.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2772, allocations: 8 kB / 367.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2772, allocations: 4 kB / 367.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.2773, allocations: 11.94 kB / 367.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/0.278, allocations: 191.7 kB / 367.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.278, allocations: 8 kB / 367.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.2786, allocations: 95.23 kB / 367.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.2786, allocations: 27.98 kB / 367.5 MB, free: 9.73 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.000737/0.2794, allocations: 0.5247 MB / 368 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.2795, allocations: 90.97 kB / 368.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.2809, allocations: 0.6979 MB / 368.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.2809, allocations: 4 kB / 368.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2809, allocations: 7.984 kB / 368.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.2809, allocations: 3.938 kB / 368.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.2832, allocations: 1.672 MB / 370.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.2833, allocations: 8.094 kB / 370.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.2837, allocations: 91.88 kB / 370.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.2842, allocations: 154.8 kB / 370.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/0.2842, allocations: 31.98 kB / 370.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/0.2871, allocations: 2.607 MB / 373.4 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2871, allocations: 7.969 kB / 373.4 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.2894, allocations: 1.511 MB / 374.9 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.2896, allocations: 188 kB / 375.1 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.2897, allocations: 23.98 kB / 375.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.2903, allocations: 67.92 kB / 375.2 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.2904, allocations: 55.86 kB / 375.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.2905, allocations: 16 kB / 375.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009049/0.2914, allocations: 0.737 MB / 376 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2914, allocations: 0 / 376 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009292/0.2923, allocations: 358.4 kB / 376.3 MB, free: 0.6172 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.0002241/0.2925, allocations: 135.5 kB / 376.5 MB, free: 488 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.2939, allocations: 0.8007 MB / 377.3 MB, free: 15.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2939, allocations: 320 / 377.3 MB, free: 15.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.2949, allocations: 0.6097 MB / 377.9 MB, free: 15.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.296, allocations: 159.2 kB / 378 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.3002, allocations: 3.502 MB / 381.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.3013, allocations: 1.491 MB / 383 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005912/0.3019, allocations: 234.7 kB / 383.3 MB, free: 9.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.3021, allocations: 67.36 kB / 383.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3021, allocations: 0 / 383.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of Templates: time 0.01911/0.3212, allocations: 10.88 MB / 394.2 MB, free: 14.62 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)