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.006828/0.006828, allocations: 98.19 kB / 15.73 MB, free: 6.012 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.001495/0.001495, allocations: 197 kB / 16.67 MB, free: 5.949 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.466/1.466, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.001205/0.001206, allocations: 53.64 kB / 326.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08436, allocations: 46.62 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01017/0.09457, allocations: 9.918 MB / 383.1 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006164/0.1008, allocations: 3.346 MB / 386.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.102, allocations: 59.81 kB / 386.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008666/0.1108, allocations: 3.835 MB / 390.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004419/0.1152, allocations: 1.408 MB / 391.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.1179, allocations: 1.145 MB / 392.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01023/0.1281, allocations: 9.142 MB / 402 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02696/0.1551, allocations: 20.32 MB / 422.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006358/0.1615, allocations: 5.054 MB / 427.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008721/0.1703, allocations: 6.079 MB / 433.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002911/0.1732, allocations: 1.398 MB / 434.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003962/0.1772, allocations: 1.629 MB / 436.5 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002958/0.1802, allocations: 2.927 MB / 439.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006824/0.187, allocations: 5.455 MB / 444.9 MB, free: 9.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2063/0.3934, allocations: 18.74 MB / 463.6 MB, free: 41.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3934, allocations: 1.094 kB / 463.6 MB, free: 41.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3934, allocations: 0 / 463.6 MB, free: 41.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005128/0.3939, allocations: 0 / 463.6 MB, free: 41.94 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.04459/0.4385, allocations: 12.45 MB / 476.1 MB, free: 35.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4386, allocations: 13.08 kB / 476.1 MB, free: 35.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08892/0.5275, allocations: 8.545 MB / 484.6 MB, free: 32.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01971/0.5473, allocations: 5.407 MB / 490.1 MB, free: 28.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000512/0.5478, allocations: 0.6618 MB / 490.7 MB, free: 28.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005431/0.5533, allocations: 0.8681 MB / 491.6 MB, free: 28.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03778/0.5911, allocations: 15.98 MB / 0.4957 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003465/0.5915, allocations: 11.94 kB / 0.4957 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003585/0.5951, allocations: 370.7 kB / 0.496 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004385/0.5955, allocations: 0.5504 MB / 0.4966 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0294/0.6249, allocations: 15.72 MB / 0.5119 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08436/0.7093, allocations: 47.84 MB / 0.5586 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02082/0.7302, allocations: 19.33 MB / 0.5775 GB, free: 6.926 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005861/0.7361, allocations: 3.586 MB / 0.581 GB, free: 3.332 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004947/0.7366, allocations: 183.6 kB / 0.5812 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.74e-05/0.7367, allocations: 86.56 kB / 0.5813 GB, free: 3.059 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.572e-06/0.7367, allocations: 0 / 0.5813 GB, free: 3.059 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.03768/0.7744, allocations: 11.57 MB / 0.5926 GB, free: 7.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.7746, allocations: 132.4 kB / 0.5927 GB, free: 7.266 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/0.7858, allocations: 3.843 MB / 0.5964 GB, free: 3.414 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001283/0.7871, allocations: 101.6 kB / 0.5965 GB, free: 3.309 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004478/0.7917, allocations: 4.054 MB / 0.6005 GB, free: 15.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003185/0.7949, allocations: 1.683 MB / 0.6021 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007022/0.802, allocations: 1.481 MB / 0.6036 GB, free: 12.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8021, allocations: 304.9 kB / 0.6039 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01072/0.8129, allocations: 3.688 MB / 0.6075 GB, free: 8.117 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01064/0.8236, allocations: 6.521 MB / 0.6138 GB, free: 348 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/0.8395, allocations: 10.83 MB / 0.6244 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.8397, allocations: 24 kB / 0.6244 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.2837/1.123, allocations: 11.97 MB / 0.6361 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.124, allocations: 45.84 kB / 0.6362 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/1.124, allocations: 92.34 kB / 0.6363 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005056/1.129, allocations: 1.62 MB / 0.6379 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006376/1.135, allocations: 1.666 MB / 0.6395 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/1.152, allocations: 17.68 MB / 0.6567 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007446/1.16, allocations: 0.9724 MB / 0.6577 GB, free: 155 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002173/1.162, allocations: 365.1 kB / 0.658 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.007772/1.17, allocations: 3.759 MB / 0.6617 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/1.171, allocations: 413 kB / 0.6621 GB, free: 153 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.185, allocations: 8.57 MB / 0.6705 GB, free: 149.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.733e-05/1.185, allocations: 48 kB / 0.6705 GB, free: 149.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.209e-05/1.185, allocations: 12 kB / 0.6705 GB, free: 149.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.234e-05/1.185, allocations: 30.75 kB / 0.6706 GB, free: 149.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0278/1.213, allocations: 16.79 MB / 0.6869 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.213, allocations: 4 kB / 0.687 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/1.216, allocations: 0.8662 MB / 0.6878 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004334/1.221, allocations: 1.511 MB / 0.6893 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005994/1.221, allocations: 104 kB / 0.6894 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/1.237, allocations: 17.48 MB / 0.7064 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.237, allocations: 4 kB / 0.7064 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02221/1.26, allocations: 12.25 MB / 0.7184 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003515/1.263, allocations: 1.122 MB / 0.7195 GB, free: 99.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001985/1.265, allocations: 88 kB / 0.7196 GB, free: 99.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003909/1.269, allocations: 307.7 kB / 0.7199 GB, free: 99.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001269/1.271, allocations: 315.6 kB / 0.7202 GB, free: 98.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007137/1.271, allocations: 139.8 kB / 0.7203 GB, free: 98.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005298/1.277, allocations: 2.578 MB / 0.7228 GB, free: 96.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/1.277, allocations: 4 kB / 0.7228 GB, free: 96.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01042/1.287, allocations: 2.392 MB / 0.7252 GB, free: 93.88 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.001272/1.288, allocations: 262 kB / 0.7254 GB, free: 93.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01492/1.303, allocations: 9.39 MB / 0.7346 GB, free: 84.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.303, allocations: 0 / 0.7346 GB, free: 84.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007061/1.31, allocations: 4.491 MB / 0.739 GB, free: 79.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006426/1.317, allocations: 0.7331 MB / 0.7397 GB, free: 78.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03374/1.351, allocations: 17.05 MB / 0.7563 GB, free: 61.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007023/1.358, allocations: 6.049 MB / 0.7623 GB, free: 55.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007272/1.365, allocations: 3.251 MB / 0.7654 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/1.366, allocations: 375.4 kB / 0.7658 GB, free: 51.98 MB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/1.366, allocations: 0 / 0.7658 GB, free: 51.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.3646/1.731, allocations: 65.52 MB / 0.8298 GB, free: 156.5 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)