Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01119/0.01119, 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.001648/0.001649, 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.427/1.427, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001165/0.001165, allocations: 58.56 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08787/0.08905, allocations: 46.61 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01029/0.09938, allocations: 9.922 MB / 383.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006219/0.1056, allocations: 3.346 MB / 386.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.1067, allocations: 63.81 kB / 386.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008353/0.1151, allocations: 3.843 MB / 390.4 MB, free: 52 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00492/0.1201, allocations: 1.423 MB / 391.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002936/0.123, allocations: 1.131 MB / 392.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01045/0.1335, allocations: 9.138 MB / 402 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02573/0.1592, allocations: 20.33 MB / 422.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006034/0.1653, allocations: 5.062 MB / 427.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008061/0.1734, allocations: 6.087 MB / 433.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002952/0.1764, allocations: 1.395 MB / 434.9 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.1806, allocations: 1.629 MB / 436.6 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003809/0.1844, allocations: 2.927 MB / 439.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007391/0.1918, allocations: 5.455 MB / 444.9 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2099/0.4018, allocations: 18.68 MB / 463.6 MB, free: 41.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4018, allocations: 0 / 463.6 MB, free: 41.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4018, allocations: 3.312 kB / 463.6 MB, free: 41.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004306/0.4023, allocations: 0 / 463.6 MB, free: 41.93 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.04094/0.4432, allocations: 12.26 MB / 475.9 MB, free: 36.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4433, allocations: 14.27 kB / 475.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04625/0.4895, allocations: 8.498 MB / 484.4 MB, free: 32.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/0.5028, allocations: 5.395 MB / 489.8 MB, free: 29.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003822/0.5032, allocations: 0.6601 MB / 490.5 MB, free: 29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004372/0.5076, allocations: 0.8611 MB / 491.3 MB, free: 28.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03534/0.5429, allocations: 15.98 MB / 0.4954 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002253/0.5432, allocations: 8 kB / 0.4954 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/0.5448, allocations: 369 kB / 0.4958 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003921/0.5452, allocations: 0.5582 MB / 0.4963 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02663/0.5718, allocations: 15.71 MB / 0.5116 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08154/0.6534, allocations: 47.73 MB / 0.5583 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02031/0.6738, allocations: 19.33 MB / 0.5771 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005346/0.6791, allocations: 3.586 MB / 0.5806 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003872/0.6795, allocations: 182.9 kB / 0.5808 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.208e-05/0.6796, allocations: 86.55 kB / 0.5809 GB, free: 3.516 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 7.735e-06/0.6796, allocations: 4 kB / 0.5809 GB, free: 3.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02185/0.7015, allocations: 11.54 MB / 0.5922 GB, free: 7.887 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.7016, allocations: 125.1 kB / 0.5923 GB, free: 7.746 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005384/0.707, allocations: 3.846 MB / 0.596 GB, free: 3.891 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003105/0.7073, allocations: 101.7 kB / 0.5961 GB, free: 3.785 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002426/0.7097, allocations: 3.898 MB / 0.5999 GB, free: 15.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001348/0.7111, allocations: 1.603 MB / 0.6015 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002123/0.7132, allocations: 1.468 MB / 0.6029 GB, free: 12.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.7133, allocations: 305.1 kB / 0.6032 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004914/0.7183, allocations: 3.691 MB / 0.6068 GB, free: 8.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006649/0.7249, allocations: 6.528 MB / 0.6132 GB, free: 1.027 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0129/0.7378, allocations: 10.83 MB / 0.6238 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.187e-05/0.7379, allocations: 28 kB / 0.6238 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.24/0.9779, allocations: 11.95 MB / 0.6355 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.978, allocations: 44.94 kB / 0.6355 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002316/0.9783, allocations: 95.97 kB / 0.6356 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005097/0.9834, allocations: 1.625 MB / 0.6372 GB, free: 166.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006252/0.9897, allocations: 1.664 MB / 0.6388 GB, free: 166.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/1.006, allocations: 17.64 MB / 0.6561 GB, free: 155.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005906/1.012, allocations: 0.9597 MB / 0.657 GB, free: 155.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001254/1.013, allocations: 359.9 kB / 0.6573 GB, free: 155 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.005947/1.019, allocations: 3.755 MB / 0.661 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008696/1.02, allocations: 394 kB / 0.6614 GB, free: 153.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/1.032, allocations: 8.572 MB / 0.6697 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/1.032, allocations: 51.33 kB / 0.6698 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.674e-05/1.032, allocations: 11.06 kB / 0.6698 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.11e-05/1.033, allocations: 30.3 kB / 0.6698 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02619/1.059, allocations: 16.78 MB / 0.6862 GB, free: 134.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.059, allocations: 4 kB / 0.6862 GB, free: 134.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/1.062, allocations: 0.8581 MB / 0.6871 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003906/1.066, allocations: 1.511 MB / 0.6885 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003212/1.066, allocations: 104 kB / 0.6886 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.08, allocations: 17.46 MB / 0.7057 GB, free: 114 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.08, allocations: 4 kB / 0.7057 GB, free: 114 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/1.096, allocations: 12.24 MB / 0.7176 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002355/1.099, allocations: 1.104 MB / 0.7187 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000609/1.099, allocations: 84 kB / 0.7188 GB, free: 100.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002208/1.101, allocations: 307.1 kB / 0.7191 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006321/1.102, allocations: 323.5 kB / 0.7194 GB, free: 99.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/1.102, allocations: 136 kB / 0.7195 GB, free: 99.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00306/1.105, allocations: 2.57 MB / 0.722 GB, free: 97.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.105, allocations: 0 / 0.722 GB, free: 97.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007349/1.113, allocations: 2.385 MB / 0.7244 GB, free: 94.67 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.0006522/1.114, allocations: 261.9 kB / 0.7246 GB, free: 94.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01369/1.127, allocations: 9.378 MB / 0.7338 GB, free: 84.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.127, allocations: 5.094 kB / 0.7338 GB, free: 84.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006606/1.134, allocations: 4.482 MB / 0.7382 GB, free: 80.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004066/1.138, allocations: 0.7272 MB / 0.7389 GB, free: 79.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.164, allocations: 16.82 MB / 0.7553 GB, free: 62.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00615/1.171, allocations: 6.046 MB / 0.7612 GB, free: 56.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006519/1.177, allocations: 3.247 MB / 0.7644 GB, free: 53.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.178, allocations: 371.4 kB / 0.7647 GB, free: 53.07 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/1.178, allocations: 0 / 0.7647 GB, free: 53.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.3669/1.545, allocations: 65.54 MB / 0.8287 GB, free: 157.1 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)