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.008063/0.008063, allocations: 99.77 kB / 15.73 MB, free: 5.551 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.001575/0.001575, allocations: 196.2 kB / 16.68 MB, free: 5.48 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.459/1.459, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001134/0.001134, allocations: 49.53 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09508, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01022/0.1053, allocations: 9.926 MB / 383.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006131/0.1115, allocations: 3.342 MB / 386.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.1127, allocations: 59.81 kB / 386.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008125/0.1209, allocations: 3.831 MB / 390.3 MB, free: 72 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0044/0.1253, allocations: 1.419 MB / 391.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.128, allocations: 1.134 MB / 392.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009873/0.1379, allocations: 9.134 MB / 402 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02402/0.1619, allocations: 20.33 MB / 422.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006852/0.1688, allocations: 5.05 MB / 427.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008705/0.1776, allocations: 6.083 MB / 433.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002786/0.1804, allocations: 1.398 MB / 434.9 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.1843, allocations: 1.633 MB / 436.5 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002878/0.1872, allocations: 2.923 MB / 439.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007065/0.1942, allocations: 5.455 MB / 444.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.186/0.3802, allocations: 18.74 MB / 463.6 MB, free: 41.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3803, allocations: 0 / 463.6 MB, free: 41.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3803, allocations: 0 / 463.6 MB, free: 41.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004323/0.3807, allocations: 0 / 463.6 MB, free: 41.91 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.03855/0.4193, allocations: 12.45 MB / 476.1 MB, free: 35.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.4194, allocations: 14.11 kB / 476.1 MB, free: 35.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04869/0.4681, allocations: 8.538 MB / 484.6 MB, free: 32.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.4803, allocations: 5.414 MB / 490.1 MB, free: 28.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004905/0.4808, allocations: 0.6612 MB / 490.7 MB, free: 28.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004207/0.485, allocations: 0.8647 MB / 491.6 MB, free: 28.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04031/0.5254, allocations: 15.97 MB / 0.4957 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000366/0.5258, allocations: 11.94 kB / 0.4957 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003873/0.5296, allocations: 373.8 kB / 0.496 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005044/0.5302, allocations: 0.5504 MB / 0.4966 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03149/0.5617, allocations: 15.72 MB / 0.5119 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09106/0.6528, allocations: 47.84 MB / 0.5586 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0206/0.6734, allocations: 19.33 MB / 0.5775 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005335/0.6788, allocations: 3.586 MB / 0.581 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004872/0.6793, allocations: 174.6 kB / 0.5812 GB, free: 3.156 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.635e-05/0.6794, allocations: 86.56 kB / 0.5813 GB, free: 3.062 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.602e-06/0.6794, allocations: 3.188 kB / 0.5813 GB, free: 3.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02561/0.705, allocations: 11.57 MB / 0.5926 GB, free: 7.414 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.7051, allocations: 129.1 kB / 0.5927 GB, free: 7.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007252/0.7124, allocations: 3.851 MB / 0.5964 GB, free: 3.414 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008603/0.7133, allocations: 101.7 kB / 0.5965 GB, free: 3.309 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002947/0.7163, allocations: 4.048 MB / 0.6005 GB, free: 15.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002197/0.7185, allocations: 1.685 MB / 0.6021 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004428/0.7229, allocations: 1.477 MB / 0.6036 GB, free: 12.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7231, allocations: 304.9 kB / 0.6039 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006627/0.7297, allocations: 3.688 MB / 0.6075 GB, free: 8.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007919/0.7376, allocations: 6.522 MB / 0.6138 GB, free: 352 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0148/0.7525, allocations: 10.83 MB / 0.6244 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/0.7526, allocations: 28 kB / 0.6244 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.2397/0.9924, allocations: 11.97 MB / 0.6361 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.9925, allocations: 44.94 kB / 0.6362 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/0.9927, allocations: 93.53 kB / 0.6363 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004857/0.9976, allocations: 1.627 MB / 0.6379 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006125/1.004, allocations: 1.67 MB / 0.6395 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.018/1.022, allocations: 17.65 MB / 0.6567 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007166/1.029, allocations: 0.9807 MB / 0.6577 GB, free: 155 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002128/1.031, allocations: 359.4 kB / 0.658 GB, free: 154.9 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.007559/1.039, allocations: 3.764 MB / 0.6617 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.04, allocations: 415.3 kB / 0.6621 GB, free: 153 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.055, allocations: 8.572 MB / 0.6705 GB, free: 149.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.861e-05/1.055, allocations: 48 kB / 0.6705 GB, free: 149.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-05/1.055, allocations: 12 kB / 0.6705 GB, free: 149.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.265e-05/1.055, allocations: 26.62 kB / 0.6705 GB, free: 149.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0329/1.088, allocations: 16.8 MB / 0.6869 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.789e-05/1.088, allocations: 0 / 0.6869 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003736/1.092, allocations: 0.8582 MB / 0.6878 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004934/1.097, allocations: 1.519 MB / 0.6893 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001112/1.098, allocations: 99.98 kB / 0.6894 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/1.114, allocations: 17.48 MB / 0.7064 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.114, allocations: 8 kB / 0.7064 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/1.132, allocations: 12.25 MB / 0.7184 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003159/1.135, allocations: 1.122 MB / 0.7195 GB, free: 99.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00165/1.137, allocations: 84 kB / 0.7196 GB, free: 99.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/1.141, allocations: 315.5 kB / 0.7199 GB, free: 99.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009752/1.142, allocations: 315.5 kB / 0.7202 GB, free: 98.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005692/1.142, allocations: 140 kB / 0.7203 GB, free: 98.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004693/1.147, allocations: 2.574 MB / 0.7228 GB, free: 96.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.147, allocations: 0 / 0.7228 GB, free: 96.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009846/1.157, allocations: 2.4 MB / 0.7252 GB, free: 93.82 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.001225/1.158, allocations: 258.3 kB / 0.7254 GB, free: 93.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01661/1.175, allocations: 9.39 MB / 0.7346 GB, free: 84.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.175, allocations: 1.312 kB / 0.7346 GB, free: 84.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007635/1.182, allocations: 4.495 MB / 0.739 GB, free: 79.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005635/1.188, allocations: 0.736 MB / 0.7397 GB, free: 78.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03235/1.22, allocations: 17.04 MB / 0.7563 GB, free: 61.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008785/1.229, allocations: 6.042 MB / 0.7622 GB, free: 55.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.009072/1.238, allocations: 3.255 MB / 0.7654 GB, free: 52.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002352/1.241, allocations: 371.4 kB / 0.7658 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/1.241, allocations: 0 / 0.7658 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.3349/1.576, allocations: 65.54 MB / 0.8298 GB, free: 156.7 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)