Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009792/0.009791, allocations: 98 kB / 15.73 MB, free: 6.059 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.001766/0.001766, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.499/1.499, allocations: 205.1 MB / 222.5 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.001179/0.001179, allocations: 54.84 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1203, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04111/0.1615, allocations: 38.36 MB / 411.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0316/0.1931, allocations: 10 MB / 421.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01126/0.2045, allocations: 247.1 kB / 421.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02738/0.2319, allocations: 10.17 MB / 432 MB, free: 6.277 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01901/0.251, allocations: 4.094 MB / 436.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009662/0.2606, allocations: 2.417 MB / 438.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.5815/0.8421, allocations: 16.52 MB / 455 MB, free: 6.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05489/0.8971, allocations: 31.18 MB / 486.2 MB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02164/0.9188, allocations: 8.865 MB / 495.1 MB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02055/0.9394, allocations: 9.447 MB / 0.4927 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00937/0.9488, allocations: 2.426 MB / 0.4951 GB, free: 7.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01438/0.9632, allocations: 2.82 MB / 0.4978 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01324/0.9765, allocations: 4.872 MB / 0.5026 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02824/1.005, allocations: 9.276 MB / 0.5116 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04917/1.054, allocations: 32.21 MB / 0.5431 GB, free: 10.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.054, allocations: 0 / 0.5431 GB, free: 10.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/1.054, allocations: 0 / 0.5431 GB, free: 10.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001091/1.055, allocations: 8 kB / 0.5431 GB, free: 10.3 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.07246/1.128, allocations: 19.2 MB / 0.5618 GB, free: 7.105 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/1.128, allocations: 8.031 kB / 0.5618 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05347/1.181, allocations: 9.355 MB / 0.571 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02519/1.206, allocations: 9.231 MB / 0.58 GB, free: 4.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001591/1.208, allocations: 1.069 MB / 0.581 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008215/1.216, allocations: 1.412 MB / 0.5824 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07289/1.289, allocations: 23.2 MB / 0.6051 GB, free: 11.28 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006655/1.29, allocations: 23.56 kB / 0.6051 GB, free: 11.26 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007025/1.297, allocations: 0.5853 MB / 0.6057 GB, free: 10.69 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009181/1.298, allocations: 0.8032 MB / 0.6065 GB, free: 9.883 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05008/1.348, allocations: 21.7 MB / 0.6276 GB, free: 4.176 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4273/1.775, allocations: 73.44 MB / 0.6994 GB, free: 119.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03715/1.813, allocations: 53.55 MB / 0.7517 GB, free: 66.74 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009791/1.822, allocations: 5.353 MB / 0.7569 GB, free: 62.65 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03202/1.854, allocations: 15.45 MB / 0.772 GB, free: 47.41 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.648e-05/1.855, allocations: 94.7 kB / 0.7721 GB, free: 47.3 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 1.058e-05/1.855, allocations: 0 / 0.7721 GB, free: 47.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.06347/1.918, allocations: 27.26 MB / 0.7987 GB, free: 20.3 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/1.918, allocations: 129.3 kB / 0.7988 GB, free: 20.16 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01346/1.932, allocations: 5.909 MB / 0.8046 GB, free: 14.35 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001357/1.933, allocations: 105.7 kB / 0.8047 GB, free: 14.24 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003813/1.937, allocations: 6.507 MB / 0.811 GB, free: 8.254 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002443/1.939, allocations: 1.83 MB / 0.8128 GB, free: 6.449 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002391/1.942, allocations: 1.529 MB / 0.8143 GB, free: 4.914 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.727e-05/1.942, allocations: 305.1 kB / 0.8146 GB, free: 4.613 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004624/1.946, allocations: 3.685 MB / 0.8182 GB, free: 0.9258 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008243/1.955, allocations: 6.769 MB / 0.8248 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2976/2.252, allocations: 11.14 MB / 0.8357 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/2.252, allocations: 31.97 kB / 0.8357 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02697/2.279, allocations: 12.42 MB / 0.8479 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/2.28, allocations: 57.55 kB / 0.8479 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/2.28, allocations: 101.6 kB / 0.848 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004151/2.284, allocations: 1.598 MB / 0.8496 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006436/2.29, allocations: 1.743 MB / 0.8513 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0211/2.311, allocations: 19.64 MB / 0.8705 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008127/2.32, allocations: 440.5 kB / 0.8709 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/2.322, allocations: 388.9 kB / 0.8712 GB, free: 149 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (904): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (12,64,54.2%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01055/2.332, allocations: 5.251 MB / 0.8764 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/2.334, allocations: 0.6332 MB / 0.877 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01763/2.352, allocations: 9.376 MB / 0.8861 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008612/2.36, allocations: 5.874 MB / 0.8919 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.764e-05/2.36, allocations: 31.31 kB / 0.8919 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.16e-05/2.36, allocations: 26.45 kB / 0.8919 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03633/2.397, allocations: 21.08 MB / 0.9125 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/2.397, allocations: 8 kB / 0.9125 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003554/2.4, allocations: 0.8581 MB / 0.9134 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004315/2.405, allocations: 1.646 MB / 0.915 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007658/2.405, allocations: 127.9 kB / 0.9151 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/2.427, allocations: 23.23 MB / 0.9378 GB, free: 96.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/2.427, allocations: 7.938 kB / 0.9378 GB, free: 96.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/2.446, allocations: 13.76 MB / 0.9512 GB, free: 82.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003665/2.449, allocations: 1.401 MB / 0.9526 GB, free: 81.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/2.451, allocations: 100 kB / 0.9527 GB, free: 81.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003427/2.454, allocations: 291.7 kB / 0.953 GB, free: 81.08 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009357/2.455, allocations: 408.3 kB / 0.9534 GB, free: 80.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003306/2.456, allocations: 156 kB / 0.9535 GB, free: 80.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00598/2.462, allocations: 3.965 MB / 0.9574 GB, free: 76.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/2.462, allocations: 0 / 0.9574 GB, free: 76.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0114/2.473, allocations: 2.369 MB / 0.9597 GB, free: 74.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/2.474, allocations: 319 kB / 0.96 GB, free: 73.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01675/2.491, allocations: 10.03 MB / 0.9698 GB, free: 63.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.491e-05/2.491, allocations: 4 kB / 0.9698 GB, free: 63.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01191/2.503, allocations: 5.471 MB / 0.9751 GB, free: 58.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01426/2.518, allocations: 1.651 MB / 0.9767 GB, free: 56.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05234/2.57, allocations: 25.31 MB / 1.001 GB, free: 31.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01511/2.585, allocations: 8.933 MB / 1.01 GB, free: 22.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007349/2.593, allocations: 2.587 MB / 1.013 GB, free: 19.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/2.594, allocations: 467.3 kB / 1.013 GB, free: 19.17 MB / 0.5294 GB Notification: Performance of SimCode: time 1.753e-06/2.594, allocations: 0 / 1.013 GB, free: 19.17 MB / 0.5294 GB Notification: Performance of Templates: time 0.4737/3.068, allocations: 97.91 MB / 1.109 GB, free: 109.5 MB / 0.5294 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)