Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001181/0.001181, allocations: 113 kB / 17.06 MB, free: 5.965 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.001153/0.001154, allocations: 196 kB / 18 MB, free: 5.051 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.454/1.454, 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.001213/0.001214, allocations: 51.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08545, allocations: 46.62 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1882/0.2736, allocations: 9.916 MB / 384.4 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009444/0.2831, allocations: 3.351 MB / 387.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.2856, allocations: 64.44 kB / 387.8 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01344/0.2991, allocations: 3.828 MB / 391.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007362/0.3065, allocations: 1.404 MB / 393.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004601/0.3111, allocations: 1.141 MB / 394.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01506/0.3262, allocations: 9.144 MB / 403.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02573/0.352, allocations: 20.33 MB / 423.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.3622, allocations: 5.07 MB / 428.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01047/0.3727, allocations: 6.079 MB / 434.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003521/0.3763, allocations: 1.398 MB / 436.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005146/0.3814, allocations: 1.633 MB / 437.9 MB, free: 200 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003729/0.3852, allocations: 2.919 MB / 440.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00765/0.3929, allocations: 5.455 MB / 446.2 MB, free: 7.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01684/0.4097, allocations: 18.69 MB / 464.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4098, allocations: 0 / 464.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.4098, allocations: 4 kB / 464.9 MB, free: 5.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003637/0.4102, allocations: 3.938 kB / 464.9 MB, free: 5.043 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.03339/0.4436, allocations: 12.26 MB / 477.2 MB, free: 8.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4436, allocations: 11.89 kB / 477.2 MB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04881/0.4924, allocations: 8.502 MB / 485.7 MB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/0.5068, allocations: 5.384 MB / 491.1 MB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006123/0.5074, allocations: 0.6623 MB / 491.7 MB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003119/0.5106, allocations: 0.8671 MB / 492.6 MB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03416/0.5447, allocations: 15.97 MB / 0.4967 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003054/0.5451, allocations: 19.84 kB / 0.4967 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002437/0.5475, allocations: 367.9 kB / 0.497 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005445/0.5481, allocations: 0.5621 MB / 0.4976 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03146/0.5796, allocations: 15.71 MB / 0.5129 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4363/1.016, allocations: 47.71 MB / 0.5595 GB, free: 119.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/1.035, allocations: 19.33 MB / 0.5784 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00586/1.041, allocations: 3.591 MB / 0.5819 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004431/1.041, allocations: 184 kB / 0.5821 GB, free: 106.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/1.041, allocations: 81.69 kB / 0.5822 GB, free: 106.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 5.37e-06/1.041, allocations: 0 / 0.5822 GB, free: 106.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.0207/1.062, allocations: 11.54 MB / 0.5934 GB, free: 103.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/1.062, allocations: 127.7 kB / 0.5936 GB, free: 103.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004756/1.067, allocations: 3.842 MB / 0.5973 GB, free: 102.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006531/1.067, allocations: 100.7 kB / 0.5974 GB, free: 102.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002023/1.069, allocations: 3.894 MB / 0.6012 GB, free: 99.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001677/1.071, allocations: 1.61 MB / 0.6028 GB, free: 98.22 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002247/1.073, allocations: 1.474 MB / 0.6042 GB, free: 97.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.143e-05/1.073, allocations: 301.1 kB / 0.6045 GB, free: 97.22 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004351/1.078, allocations: 3.682 MB / 0.6081 GB, free: 95.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006658/1.084, allocations: 6.528 MB / 0.6145 GB, free: 90.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/1.096, allocations: 10.83 MB / 0.625 GB, free: 82.99 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-05/1.096, allocations: 26.47 kB / 0.6251 GB, free: 82.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01888/1.115, allocations: 11.95 MB / 0.6367 GB, free: 72.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/1.115, allocations: 51.92 kB / 0.6368 GB, free: 72.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/1.115, allocations: 96.31 kB / 0.6369 GB, free: 72.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004599/1.12, allocations: 1.622 MB / 0.6385 GB, free: 70.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005865/1.126, allocations: 1.661 MB / 0.6401 GB, free: 69.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/1.141, allocations: 17.65 MB / 0.6573 GB, free: 50.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005876/1.147, allocations: 0.9523 MB / 0.6583 GB, free: 49.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/1.148, allocations: 364 kB / 0.6586 GB, free: 49.25 MB / 478.1 MB 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.005998/1.154, allocations: 3.754 MB / 0.6623 GB, free: 45.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007629/1.155, allocations: 395.1 kB / 0.6626 GB, free: 45.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/1.168, allocations: 8.557 MB / 0.671 GB, free: 36.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/1.168, allocations: 55.94 kB / 0.6711 GB, free: 36.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.318e-05/1.168, allocations: 12 kB / 0.6711 GB, free: 36.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.072e-05/1.168, allocations: 31.89 kB / 0.6711 GB, free: 36.36 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02794/1.196, allocations: 16.79 MB / 0.6875 GB, free: 19.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.196, allocations: 3.375 kB / 0.6875 GB, free: 19.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00345/1.199, allocations: 0.8659 MB / 0.6883 GB, free: 18.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004464/1.204, allocations: 1.514 MB / 0.6898 GB, free: 17.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008097/1.205, allocations: 99.97 kB / 0.6899 GB, free: 17.03 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/1.22, allocations: 17.46 MB / 0.707 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.221, allocations: 4 kB / 0.707 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02108/1.242, allocations: 12.24 MB / 0.7189 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003689/1.245, allocations: 1.1 MB / 0.72 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.247, allocations: 84 kB / 0.7201 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002998/1.25, allocations: 310.3 kB / 0.7204 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007535/1.25, allocations: 319.5 kB / 0.7207 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002949/1.251, allocations: 140.1 kB / 0.7208 GB, free: 336 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00424/1.255, allocations: 2.576 MB / 0.7233 GB, free: 13.76 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.81e-07/1.255, allocations: 0 / 0.7233 GB, free: 13.76 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.007611/1.263, allocations: 2.373 MB / 0.7256 GB, free: 11.38 MB / 0.4982 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.0008601/1.263, allocations: 263.2 kB / 0.7259 GB, free: 11.11 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01545/1.279, allocations: 9.385 MB / 0.7351 GB, free: 1.621 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.279, allocations: 4 kB / 0.7351 GB, free: 1.617 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008028/1.287, allocations: 4.471 MB / 0.7394 GB, free: 13.07 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004532/1.292, allocations: 0.7426 MB / 0.7402 GB, free: 12.33 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2501/1.542, allocations: 16.8 MB / 0.7566 GB, free: 165.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01209/1.554, allocations: 6.05 MB / 0.7625 GB, free: 164.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01122/1.565, allocations: 3.254 MB / 0.7657 GB, free: 164.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002264/1.567, allocations: 374.9 kB / 0.766 GB, free: 164.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.233e-06/1.567, allocations: 1.844 kB / 0.766 GB, free: 164.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.1033/1.671, allocations: 65.35 MB / 0.8298 GB, free: 122.8 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)