Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.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.007599/0.007599, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001207/0.001207, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001233/0.001233, allocations: 46.5 kB / 326.6 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.08814, allocations: 46.63 MB / 373.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01045/0.09863, allocations: 9.922 MB / 383.1 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006389/0.105, allocations: 3.346 MB / 386.4 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.1067, allocations: 59.81 kB / 386.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008454/0.1152, allocations: 3.847 MB / 390.4 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004299/0.1195, allocations: 1.419 MB / 391.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.1221, allocations: 1.138 MB / 392.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009328/0.1315, allocations: 9.134 MB / 402 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02558/0.1571, allocations: 20.32 MB / 422.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006407/0.1635, allocations: 5.074 MB / 427.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00811/0.1717, allocations: 6.079 MB / 433.5 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002895/0.1746, allocations: 1.398 MB / 434.9 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/0.1787, allocations: 1.632 MB / 436.6 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003674/0.1824, allocations: 2.919 MB / 439.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007333/0.1898, allocations: 5.455 MB / 444.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1974/0.3873, allocations: 18.69 MB / 463.6 MB, free: 42.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.3873, allocations: 0 / 463.6 MB, free: 42.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3873, allocations: 0 / 463.6 MB, free: 42.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004455/0.3878, allocations: 1.281 kB / 463.6 MB, free: 42.43 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03933/0.4271, allocations: 12.27 MB / 475.9 MB, free: 36.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4272, allocations: 15.62 kB / 475.9 MB, free: 36.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04668/0.4739, allocations: 8.495 MB / 484.4 MB, free: 32.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.4863, allocations: 5.398 MB / 489.8 MB, free: 29.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/0.4867, allocations: 0.6653 MB / 490.5 MB, free: 29.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003383/0.4901, allocations: 0.8633 MB / 491.3 MB, free: 28.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0346/0.5247, allocations: 15.97 MB / 0.4954 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000275/0.525, allocations: 4 kB / 0.4954 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00257/0.5276, allocations: 370.8 kB / 0.4958 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004275/0.528, allocations: 0.5614 MB / 0.4963 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02709/0.5551, allocations: 15.71 MB / 0.5116 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08418/0.6393, allocations: 47.73 MB / 0.5583 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01945/0.6588, allocations: 19.32 MB / 0.5771 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005356/0.6642, allocations: 3.597 MB / 0.5806 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/0.6646, allocations: 178.6 kB / 0.5808 GB, free: 3.809 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/0.6647, allocations: 82.56 kB / 0.5809 GB, free: 3.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.392e-06/0.6647, allocations: 0 / 0.5809 GB, free: 3.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02463/0.6893, allocations: 11.55 MB / 0.5922 GB, free: 8.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.6894, allocations: 127.7 kB / 0.5923 GB, free: 7.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006219/0.6957, allocations: 3.842 MB / 0.596 GB, free: 4.098 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008372/0.6965, allocations: 105.7 kB / 0.5961 GB, free: 3.988 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00253/0.6991, allocations: 3.893 MB / 0.5999 GB, free: 80 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001914/0.701, allocations: 1.6 MB / 0.6015 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002225/0.7032, allocations: 1.468 MB / 0.6029 GB, free: 13.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7033, allocations: 309.1 kB / 0.6032 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005593/0.709, allocations: 3.688 MB / 0.6068 GB, free: 9.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007478/0.7164, allocations: 6.528 MB / 0.6132 GB, free: 1.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/0.7306, allocations: 10.82 MB / 0.6238 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-05/0.7307, allocations: 24 kB / 0.6238 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.2321/0.9628, allocations: 11.95 MB / 0.6355 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.295e-05/0.9629, allocations: 44.94 kB / 0.6355 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001683/0.9631, allocations: 92.06 kB / 0.6356 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004818/0.9679, allocations: 1.622 MB / 0.6372 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006149/0.9741, allocations: 1.664 MB / 0.6388 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.9896, allocations: 17.66 MB / 0.6561 GB, free: 155.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005473/0.9951, allocations: 0.9517 MB / 0.657 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008658/0.996, allocations: 371.7 kB / 0.6573 GB, free: 155.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004727/1.001, allocations: 3.759 MB / 0.661 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006868/1.001, allocations: 389.7 kB / 0.6614 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.014, allocations: 8.563 MB / 0.6697 GB, free: 150 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/1.014, allocations: 52.16 kB / 0.6698 GB, free: 150 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/1.014, allocations: 14.72 kB / 0.6698 GB, free: 150 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-05/1.014, allocations: 22.88 kB / 0.6698 GB, free: 150 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/1.038, allocations: 16.78 MB / 0.6862 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.038, allocations: 0 / 0.6862 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/1.041, allocations: 0.862 MB / 0.6871 GB, free: 134.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004318/1.046, allocations: 1.52 MB / 0.6885 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004008/1.046, allocations: 99.98 kB / 0.6886 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/1.061, allocations: 17.45 MB / 0.7057 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.061, allocations: 11.94 kB / 0.7057 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/1.077, allocations: 12.23 MB / 0.7176 GB, free: 102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00241/1.079, allocations: 1.1 MB / 0.7187 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006465/1.08, allocations: 88 kB / 0.7188 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.082, allocations: 307.7 kB / 0.7191 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007291/1.083, allocations: 319.5 kB / 0.7194 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/1.083, allocations: 137.5 kB / 0.7195 GB, free: 100 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003425/1.087, allocations: 2.578 MB / 0.722 GB, free: 97.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.087, allocations: 0 / 0.722 GB, free: 97.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007503/1.094, allocations: 2.373 MB / 0.7244 GB, free: 95.08 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008182/1.095, allocations: 265.2 kB / 0.7246 GB, free: 94.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.11, allocations: 9.387 MB / 0.7338 GB, free: 85.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.11, allocations: 128 / 0.7338 GB, free: 85.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.008312/1.118, allocations: 4.484 MB / 0.7382 GB, free: 80.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006405/1.124, allocations: 0.7345 MB / 0.7389 GB, free: 80.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/1.153, allocations: 16.82 MB / 0.7553 GB, free: 63.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005652/1.158, allocations: 6.042 MB / 0.7612 GB, free: 57.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007339/1.166, allocations: 3.255 MB / 0.7644 GB, free: 53.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/1.167, allocations: 375.3 kB / 0.7647 GB, free: 53.47 MB / 0.4981 GB Notification: Performance of SimCode: time 1.402e-06/1.167, allocations: 0 / 0.7647 GB, free: 53.47 MB / 0.4981 GB Notification: Performance of Templates: time 0.3502/1.517, allocations: 65.54 MB / 0.8287 GB, free: 156.9 MB / 0.4981 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)