Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001243/0.001243, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001223/0.001224, allocations: 196 kB / 18 MB, free: 5.105 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.417/1.417, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001236/0.001236, allocations: 60.3 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08585/0.08709, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.175/0.2622, allocations: 4.603 MB / 379.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.2655, allocations: 1.741 MB / 380.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005693/0.2662, allocations: 24.38 kB / 380.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006326/0.2668, allocations: 261.1 kB / 381.1 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.2685, allocations: 0.6938 MB / 381.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.2691, allocations: 236.3 kB / 382 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.2717, allocations: 1.891 MB / 383.9 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.2732, allocations: 1.252 MB / 385.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.2746, allocations: 0.7987 MB / 386 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.276, allocations: 0.9786 MB / 386.9 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003044/0.2763, allocations: 185.6 kB / 387.1 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.2771, allocations: 311.5 kB / 387.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004653/0.2775, allocations: 0.5303 MB / 388 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.2786, allocations: 0.8972 MB / 388.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.2814, allocations: 2.564 MB / 391.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2814, allocations: 1.688 kB / 391.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2814, allocations: 0 / 391.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.366e-05/0.2815, allocations: 0 / 391.4 MB, free: 5.836 MB / 318.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.005269/0.2868, allocations: 2.167 MB / 393.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2868, allocations: 13.86 kB / 393.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.2887, allocations: 364.8 kB / 394 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.2909, allocations: 1.047 MB / 395 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.374e-05/0.291, allocations: 99.36 kB / 395.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.2912, allocations: 137.5 kB / 395.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.2944, allocations: 1.895 MB / 397.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.2945, allocations: 2.156 kB / 397.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.2946, allocations: 56.38 kB / 397.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.668e-05/0.2947, allocations: 44.62 kB / 397.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.2974, allocations: 1.686 MB / 398.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008636/0.306, allocations: 5.521 MB / 404.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.3092, allocations: 2.907 MB / 407.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/0.31, allocations: 0.4924 MB / 407.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002854/0.3129, allocations: 1.536 MB / 409.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.3129, allocations: 45.78 kB / 409.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.313, allocations: 0 / 409.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003485/0.3164, allocations: 1.404 MB / 410.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.3165, allocations: 81.58 kB / 410.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.3184, allocations: 1.033 MB / 411.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.412e-05/0.3185, allocations: 40.39 kB / 412 MB, free: 8.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.3191, allocations: 0.6768 MB / 412.7 MB, free: 8.027 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.3193, allocations: 192.3 kB / 412.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.3195, allocations: 124.8 kB / 413 MB, free: 7.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3197, allocations: 333.3 kB / 413.3 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.3203, allocations: 357 kB / 413.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.321, allocations: 0.5202 MB / 414.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3224, allocations: 0.8749 MB / 415 MB, free: 5.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3224, allocations: 0 / 415 MB, free: 5.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001762/0.3242, allocations: 0.9987 MB / 416 MB, free: 4.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.3242, allocations: 8 kB / 416 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.3242, allocations: 4 kB / 416 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.3243, allocations: 19.92 kB / 416.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007818/0.325, allocations: 179.7 kB / 416.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.3251, allocations: 16.12 kB / 416.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/0.3258, allocations: 87.23 kB / 416.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.3259, allocations: 28 kB / 416.4 MB, free: 4.43 MB / 334.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.0009171/0.3268, allocations: 0.5173 MB / 416.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.3271, allocations: 94.95 kB / 417 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.3286, allocations: 0.6823 MB / 417.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.3286, allocations: 4 kB / 417.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.3286, allocations: 4 kB / 417.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.3287, allocations: 11.92 kB / 417.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.3322, allocations: 1.651 MB / 419.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.3322, allocations: 7.938 kB / 419.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.3327, allocations: 95.97 kB / 419.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004962/0.3332, allocations: 157.7 kB / 419.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.3333, allocations: 15.98 kB / 419.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/0.3369, allocations: 2.847 MB / 422.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3369, allocations: 0 / 422.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/0.3395, allocations: 1.48 MB / 423.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.3401, allocations: 191.9 kB / 424.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/0.3404, allocations: 16 kB / 424.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007261/0.3411, allocations: 67.84 kB / 424.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.3413, allocations: 55.86 kB / 424.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.3414, allocations: 19.94 kB / 424.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001206/0.3426, allocations: 0.7332 MB / 425 MB, free: 11.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3426, allocations: 0 / 425 MB, free: 11.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001293/0.3439, allocations: 358.4 kB / 425.4 MB, free: 11.18 MB / 350.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.0003102/0.3442, allocations: 141.5 kB / 425.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.3457, allocations: 0.7797 MB / 426.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3457, allocations: 0 / 426.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.3468, allocations: 0.5953 MB / 426.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.348, allocations: 173.4 kB / 427 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.3528, allocations: 2.752 MB / 429.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.3541, allocations: 1.499 MB / 431.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006838/0.3548, allocations: 234.7 kB / 431.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.3551, allocations: 59.44 kB / 431.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3551, allocations: 0 / 431.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of Templates: time 0.02196/0.377, allocations: 11.98 MB / 443.6 MB, free: 8.871 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)