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.001077/0.001077, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 197.1 kB / 16.54 MB, free: 6.668 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.326/1.326, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001139/0.001139, allocations: 56.3 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2464, allocations: 46.63 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005958/0.2524, allocations: 4.609 MB / 329.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003532/0.256, allocations: 1.736 MB / 331.7 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004184/0.2564, allocations: 24.5 kB / 331.7 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006244/0.2571, allocations: 261.9 kB / 331.9 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.2589, allocations: 0.6858 MB / 332.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.2595, allocations: 233.5 kB / 332.9 MB, free: 11.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.2618, allocations: 1.882 MB / 334.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.2631, allocations: 1.249 MB / 336 MB, free: 9.176 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009252/0.264, allocations: 0.7942 MB / 336.8 MB, free: 8.379 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.2651, allocations: 0.973 MB / 337.7 MB, free: 7.402 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.2653, allocations: 188 kB / 337.9 MB, free: 7.219 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006834/0.266, allocations: 307.9 kB / 338.2 MB, free: 6.918 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.2665, allocations: 0.5453 MB / 338.8 MB, free: 6.371 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008721/0.2674, allocations: 0.8905 MB / 339.7 MB, free: 5.477 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.2695, allocations: 2.548 MB / 342.2 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2695, allocations: 4 kB / 342.2 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2695, allocations: 0 / 342.2 MB, free: 2.918 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.2695, allocations: 0 / 342.2 MB, free: 2.918 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.004276/0.2738, allocations: 2.168 MB / 344.4 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2739, allocations: 11.89 kB / 344.4 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.2756, allocations: 370.6 kB / 344.8 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.2771, allocations: 1.04 MB / 345.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/0.2772, allocations: 99.05 kB / 345.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.2775, allocations: 136.1 kB / 346 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.2803, allocations: 1.89 MB / 347.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.2804, allocations: 4 kB / 347.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.2805, allocations: 56 kB / 348 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/0.2806, allocations: 49.98 kB / 348 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.2832, allocations: 1.68 MB / 349.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008231/0.2914, allocations: 5.579 MB / 355.3 MB, free: 5.504 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/0.2944, allocations: 2.914 MB / 358.2 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.2951, allocations: 0.4905 MB / 358.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/0.2973, allocations: 1.54 MB / 360.2 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.2974, allocations: 38.64 kB / 360.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 3.276e-06/0.2974, allocations: 0 / 360.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003146/0.3005, allocations: 1.408 MB / 361.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3006, allocations: 89.05 kB / 361.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.3019, allocations: 1.028 MB / 362.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.3019, allocations: 37.7 kB / 362.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.3024, allocations: 0.6774 MB / 363.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.3026, allocations: 193.3 kB / 363.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.3027, allocations: 118.2 kB / 363.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3029, allocations: 334 kB / 364.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/0.3034, allocations: 361 kB / 364.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000647/0.3041, allocations: 0.5212 MB / 365 MB, free: 11.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.3053, allocations: 0.875 MB / 365.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3053, allocations: 4 kB / 365.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001594/0.3069, allocations: 1.005 MB / 366.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3069, allocations: 4 kB / 366.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.307, allocations: 11.98 kB / 366.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.307, allocations: 11.94 kB / 366.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/0.3077, allocations: 183.7 kB / 367.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3078, allocations: 12.19 kB / 367.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.3083, allocations: 83.33 kB / 367.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.3084, allocations: 27.98 kB / 367.2 MB, free: 8.801 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.0007254/0.3091, allocations: 0.5247 MB / 367.7 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.3092, allocations: 86.97 kB / 367.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.3105, allocations: 0.6862 MB / 368.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3105, allocations: 4 kB / 368.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.3105, allocations: 4 kB / 368.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3105, allocations: 11.92 kB / 368.5 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.3128, allocations: 1.66 MB / 370.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3128, allocations: 0 / 370.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.3133, allocations: 99.97 kB / 370.3 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.3137, allocations: 155 kB / 370.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.3138, allocations: 19.98 kB / 370.5 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.3167, allocations: 2.844 MB / 373.3 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3167, allocations: 4.031 kB / 373.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.3188, allocations: 1.48 MB / 374.8 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.3191, allocations: 184 kB / 375 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.3192, allocations: 23.98 kB / 375 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/0.3198, allocations: 55.88 kB / 375.1 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.3199, allocations: 59.86 kB / 375.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.32, allocations: 16 kB / 375.1 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009573/0.3209, allocations: 0.7332 MB / 375.9 MB, free: 15.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3209, allocations: 0 / 375.9 MB, free: 15.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001129/0.3221, allocations: 358.4 kB / 376.2 MB, free: 15.53 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.0002963/0.3224, allocations: 143.5 kB / 376.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.3238, allocations: 0.8355 MB / 377.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.3239, allocations: 4 kB / 377.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.3249, allocations: 0.5823 MB / 377.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009265/0.3258, allocations: 183.7 kB / 378 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.3301, allocations: 2.798 MB / 380.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.3312, allocations: 1.507 MB / 382.3 MB, free: 9.387 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006295/0.3318, allocations: 226.7 kB / 382.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.332, allocations: 59.42 kB / 382.5 MB, free: 9.105 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.332, allocations: 0 / 382.5 MB, free: 9.105 MB / 318.1 MB Notification: Performance of Templates: time 0.02082/0.3528, allocations: 11.62 MB / 394.2 MB, free: 13.47 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)