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.001097/0.001097, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001096/0.001096, allocations: 188.9 kB / 16.25 MB, free: 6.625 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.321/1.321, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.00121/0.00121, allocations: 43.94 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2102, allocations: 46.63 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004973/0.2152, allocations: 4.619 MB / 329.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.218, allocations: 1.712 MB / 331.2 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.2183, allocations: 22.5 kB / 331.2 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.2189, allocations: 226.8 kB / 331.4 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.2203, allocations: 0.6398 MB / 332.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.2207, allocations: 201.5 kB / 332.3 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.2226, allocations: 1.881 MB / 334.1 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.2238, allocations: 1.253 MB / 335.4 MB, free: 9.496 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007868/0.2246, allocations: 0.7942 MB / 336.2 MB, free: 8.699 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009737/0.2256, allocations: 1.008 MB / 337.2 MB, free: 7.688 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.2258, allocations: 188 kB / 337.4 MB, free: 7.504 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005097/0.2263, allocations: 315.9 kB / 337.7 MB, free: 7.195 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.2268, allocations: 0.5258 MB / 338.2 MB, free: 6.668 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000766/0.2275, allocations: 0.8982 MB / 339.1 MB, free: 5.766 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.2295, allocations: 2.548 MB / 341.7 MB, free: 3.211 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2295, allocations: 0 / 341.7 MB, free: 3.211 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2295, allocations: 0 / 341.7 MB, free: 3.211 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.2296, allocations: 0 / 341.7 MB, free: 3.211 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.004072/0.2336, allocations: 2.168 MB / 343.8 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.2337, allocations: 15.89 kB / 343.8 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.2354, allocations: 366.6 kB / 344.2 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.2369, allocations: 1.04 MB / 345.2 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.2369, allocations: 99.05 kB / 345.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.2371, allocations: 136.1 kB / 345.5 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/0.24, allocations: 1.89 MB / 347.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.24, allocations: 0 / 347.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.2401, allocations: 56 kB / 347.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.2402, allocations: 45.98 kB / 347.5 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.2427, allocations: 1.684 MB / 349.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007725/0.2504, allocations: 5.579 MB / 354.7 MB, free: 5.797 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.2533, allocations: 2.918 MB / 357.6 MB, free: 2.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007203/0.2541, allocations: 0.4953 MB / 358.1 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00225/0.2563, allocations: 1.536 MB / 359.7 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.2564, allocations: 38.5 kB / 359.7 MB, free: 284 kB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 3.827e-06/0.2564, allocations: 3.984 kB / 359.7 MB, free: 280 kB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.003083/0.2595, allocations: 1.419 MB / 361.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.2596, allocations: 89.05 kB / 361.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.2609, allocations: 1.036 MB / 362.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.2609, allocations: 33.7 kB / 362.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.2614, allocations: 0.6696 MB / 363 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.2615, allocations: 193.3 kB / 363.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.2617, allocations: 130.2 kB / 363.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2619, allocations: 330 kB / 363.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/0.2624, allocations: 365 kB / 364 MB, free: 11.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/0.2631, allocations: 0.5054 MB / 364.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.2644, allocations: 0.8789 MB / 365.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2644, allocations: 0 / 365.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001534/0.2659, allocations: 1.005 MB / 366.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.266, allocations: 8 kB / 366.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.266, allocations: 4.562 kB / 366.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.266, allocations: 15.88 kB / 366.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/0.2667, allocations: 183.8 kB / 366.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.2667, allocations: 15.92 kB / 366.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.2672, allocations: 79.34 kB / 366.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.2673, allocations: 31.98 kB / 366.7 MB, free: 9.082 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.0007168/0.268, allocations: 0.5209 MB / 367.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.2682, allocations: 86.97 kB / 367.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.2694, allocations: 0.6862 MB / 368 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.2694, allocations: 4 kB / 368 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.2694, allocations: 4 kB / 368 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2694, allocations: 3.938 kB / 368 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.2716, allocations: 1.664 MB / 369.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2716, allocations: 4 kB / 369.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/0.2721, allocations: 91.88 kB / 369.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.2725, allocations: 152.8 kB / 369.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.2726, allocations: 19.98 kB / 369.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.2756, allocations: 2.848 MB / 372.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2756, allocations: 288 / 372.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.2777, allocations: 1.484 MB / 374.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.2779, allocations: 188 kB / 374.4 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.2781, allocations: 23.92 kB / 374.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/0.2786, allocations: 63.88 kB / 374.5 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.2787, allocations: 51.92 kB / 374.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.2788, allocations: 19.98 kB / 374.6 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008665/0.2796, allocations: 0.7293 MB / 375.3 MB, free: 172 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2796, allocations: 0 / 375.3 MB, free: 172 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009343/0.2806, allocations: 362.4 kB / 375.7 MB, free: 15.81 MB / 318.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.0002239/0.2808, allocations: 139.4 kB / 375.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.2822, allocations: 0.8345 MB / 376.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2822, allocations: 0 / 376.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000976/0.2832, allocations: 0.5875 MB / 377.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/0.2841, allocations: 176 kB / 377.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.2883, allocations: 3.384 MB / 380.8 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.2893, allocations: 1.503 MB / 382.3 MB, free: 9.102 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006075/0.29, allocations: 238.7 kB / 382.5 MB, free: 8.863 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.2901, allocations: 59.44 kB / 382.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2901, allocations: 0 / 382.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of Templates: time 0.01935/0.3095, allocations: 11.44 MB / 394 MB, free: 13.34 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)