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.001257/0.001257, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001252/0.001252, allocations: 195 kB / 18 MB, free: 5.074 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.352/1.352, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001143/0.001143, allocations: 55.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09413, allocations: 46.63 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1785/0.2727, allocations: 4.588 MB / 379.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.2756, allocations: 1.744 MB / 380.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.276, allocations: 25.03 kB / 380.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.2765, allocations: 259.8 kB / 381.1 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.2779, allocations: 0.6906 MB / 381.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.2783, allocations: 229.9 kB / 382 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001959/0.2803, allocations: 1.901 MB / 383.9 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.2815, allocations: 1.255 MB / 385.2 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.2823, allocations: 0.7915 MB / 386 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.2834, allocations: 0.9775 MB / 386.9 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002582/0.2837, allocations: 186.6 kB / 387.1 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006205/0.2843, allocations: 307.8 kB / 387.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004423/0.2848, allocations: 0.5316 MB / 388 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009054/0.2857, allocations: 0.9007 MB / 388.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.2886, allocations: 2.566 MB / 391.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2886, allocations: 5.219 kB / 391.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2886, allocations: 0 / 391.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.329e-05/0.2887, allocations: 0 / 391.4 MB, free: 5.812 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.004782/0.2934, allocations: 2.215 MB / 393.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.2935, allocations: 13.27 kB / 393.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.2954, allocations: 382.6 kB / 394 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.2972, allocations: 1.051 MB / 395.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.2973, allocations: 101.2 kB / 395.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.2975, allocations: 140.4 kB / 395.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/0.3006, allocations: 1.893 MB / 397.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.3006, allocations: 0 / 397.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.3008, allocations: 52.09 kB / 397.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.767e-05/0.3009, allocations: 46.48 kB / 397.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.3036, allocations: 1.686 MB / 399 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008168/0.3118, allocations: 5.532 MB / 404.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/0.315, allocations: 2.899 MB / 407.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007699/0.3158, allocations: 0.4955 MB / 407.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002421/0.3182, allocations: 1.545 MB / 409.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.3183, allocations: 43.41 kB / 409.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/0.3183, allocations: 0 / 409.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003215/0.3215, allocations: 1.402 MB / 410.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.3216, allocations: 87.92 kB / 411 MB, free: 9.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.3232, allocations: 1.033 MB / 412 MB, free: 8.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.3232, allocations: 36.55 kB / 412.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.3238, allocations: 0.6989 MB / 412.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.3239, allocations: 199.5 kB / 413 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.3242, allocations: 123.9 kB / 413.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3243, allocations: 334.2 kB / 413.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006235/0.325, allocations: 357.1 kB / 413.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007094/0.3257, allocations: 0.5202 MB / 414.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.327, allocations: 0.8671 MB / 415.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.327, allocations: 8 kB / 415.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001673/0.3287, allocations: 1.009 MB / 416.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3287, allocations: 8 kB / 416.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3287, allocations: 4 kB / 416.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.3288, allocations: 15.92 kB / 416.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/0.3295, allocations: 179.8 kB / 416.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.3295, allocations: 11.94 kB / 416.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/0.3301, allocations: 91.62 kB / 416.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.3302, allocations: 28 kB / 416.5 MB, free: 4.281 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.0007394/0.3309, allocations: 0.5173 MB / 417 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3311, allocations: 95.42 kB / 417.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3324, allocations: 0.6862 MB / 417.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3324, allocations: 8 kB / 417.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3324, allocations: 3.938 kB / 417.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.3325, allocations: 11.92 kB / 417.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.3351, allocations: 1.648 MB / 419.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3351, allocations: 0 / 419.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.3356, allocations: 99.88 kB / 419.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/0.3361, allocations: 158 kB / 419.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/0.3361, allocations: 23.92 kB / 419.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.3392, allocations: 2.851 MB / 422.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.3393, allocations: 3.938 kB / 422.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.3415, allocations: 1.484 MB / 424.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.3418, allocations: 196.4 kB / 424.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.3419, allocations: 16 kB / 424.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.3425, allocations: 59.92 kB / 424.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3426, allocations: 59.86 kB / 424.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.3427, allocations: 16 kB / 424.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009684/0.3437, allocations: 0.7332 MB / 425.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.3437, allocations: 0 / 425.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001114/0.3448, allocations: 362.9 kB / 425.5 MB, free: 11.01 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.0002505/0.345, allocations: 141.5 kB / 425.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.3464, allocations: 0.776 MB / 426.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3464, allocations: 0 / 426.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.3475, allocations: 0.5948 MB / 427 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009917/0.3485, allocations: 181.1 kB / 427.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.3527, allocations: 2.801 MB / 430 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.3538, allocations: 1.491 MB / 431.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005799/0.3544, allocations: 234.7 kB / 431.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.3546, allocations: 63.42 kB / 431.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3546, allocations: 3.938 kB / 431.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of Templates: time 0.02003/0.3746, allocations: 11.81 MB / 443.6 MB, free: 8.816 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)