Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001057/0.001061, allocations: 109.5 kB / 16.51 MB, free: 6.707 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.001181/0.001181, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.512/1.512, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.001205/0.001205, allocations: 51.92 kB / 279.4 MB, free: 3.531 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 46.62 MB / 326 MB, free: 4.848 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04048/0.1639, allocations: 37.66 MB / 363.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02876/0.1927, allocations: 9.909 MB / 373.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01194/0.2047, allocations: 235.1 kB / 373.8 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2689/0.4738, allocations: 9.555 MB / 383.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01703/0.4908, allocations: 3.729 MB / 387.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008671/0.4995, allocations: 2.256 MB / 389.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02628/0.5258, allocations: 16.84 MB / 406.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04619/0.5721, allocations: 25.49 MB / 431.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01794/0.59, allocations: 7.232 MB / 438.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01865/0.6087, allocations: 8.913 MB / 447.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00778/0.6166, allocations: 1.539 MB / 449.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.6293, allocations: 1.927 MB / 451.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009295/0.6386, allocations: 3.948 MB / 455.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02358/0.6622, allocations: 8.344 MB / 463.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04715/0.7094, allocations: 31.32 MB / 494.9 MB, free: 6.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.7095, allocations: 0 / 494.9 MB, free: 6.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.7095, allocations: 0 / 494.9 MB, free: 6.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.00186/0.7114, allocations: 0 / 494.9 MB, free: 6.535 MB / 398.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.07393/0.7854, allocations: 18.92 MB / 0.5018 GB, free: 3.633 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.7854, allocations: 8.031 kB / 0.5018 GB, free: 3.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05264/0.8381, allocations: 9.24 MB / 0.5108 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02552/0.8636, allocations: 9.106 MB / 0.5197 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002113/0.8658, allocations: 1.076 MB / 0.5207 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009138/0.875, allocations: 1.414 MB / 0.5221 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4735/1.349, allocations: 23.23 MB / 0.5448 GB, free: 127.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00104/1.35, allocations: 22.59 kB / 0.5448 GB, free: 127.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005949/1.356, allocations: 0.5864 MB / 0.5454 GB, free: 126.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001215/1.357, allocations: 0.8036 MB / 0.5462 GB, free: 126.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05073/1.408, allocations: 21.7 MB / 0.5674 GB, free: 118.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1298/1.537, allocations: 74.19 MB / 0.6398 GB, free: 54.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03109/1.569, allocations: 53.58 MB / 0.6921 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009948/1.579, allocations: 5.427 MB / 0.6974 GB, free: 4.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03474/1.613, allocations: 15.61 MB / 0.7127 GB, free: 5.359 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.898e-05/1.613, allocations: 86.78 kB / 0.7128 GB, free: 5.266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 7.655e-06/1.613, allocations: 0 / 0.7128 GB, free: 5.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.2731/1.887, allocations: 26.84 MB / 0.739 GB, free: 144.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/1.887, allocations: 128.7 kB / 0.7391 GB, free: 144.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007844/1.895, allocations: 5.902 MB / 0.7449 GB, free: 142.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009505/1.896, allocations: 108.5 kB / 0.745 GB, free: 142.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003125/1.899, allocations: 6.291 MB / 0.7511 GB, free: 137.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001851/1.9, allocations: 1.753 MB / 0.7528 GB, free: 136 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002103/1.903, allocations: 1.539 MB / 0.7543 GB, free: 135.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/1.903, allocations: 301.1 kB / 0.7546 GB, free: 135 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004742/1.907, allocations: 3.723 MB / 0.7582 GB, free: 133.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006366/1.914, allocations: 6.803 MB / 0.7649 GB, free: 128.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/1.926, allocations: 11.23 MB / 0.7758 GB, free: 120.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/1.926, allocations: 28.25 kB / 0.7759 GB, free: 120.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02022/1.946, allocations: 12.48 MB / 0.7881 GB, free: 115.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/1.946, allocations: 47.28 kB / 0.7881 GB, free: 115.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/1.946, allocations: 102.6 kB / 0.7882 GB, free: 115.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004438/1.951, allocations: 1.597 MB / 0.7898 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006573/1.957, allocations: 1.745 MB / 0.7915 GB, free: 113.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01978/1.977, allocations: 18.23 MB / 0.8093 GB, free: 94.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006665/1.984, allocations: 439.3 kB / 0.8097 GB, free: 94.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/1.986, allocations: 395.9 kB / 0.8101 GB, free: 93.82 MB / 478.1 MB 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 (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.9%), (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.01037/1.996, allocations: 5.244 MB / 0.8152 GB, free: 88.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002143/1.998, allocations: 0.6059 MB / 0.8158 GB, free: 87.95 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/2.015, allocations: 9.469 MB / 0.825 GB, free: 78.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009933/2.025, allocations: 5.959 MB / 0.8308 GB, free: 72.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-05/2.025, allocations: 20 kB / 0.8309 GB, free: 72.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001058/2.026, allocations: 23.91 kB / 0.8309 GB, free: 72.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04478/2.07, allocations: 21.22 MB / 0.8516 GB, free: 51.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/2.07, allocations: 4 kB / 0.8516 GB, free: 51.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003911/2.074, allocations: 0.8706 MB / 0.8525 GB, free: 50.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004675/2.079, allocations: 1.638 MB / 0.8541 GB, free: 48.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009717/2.08, allocations: 124 kB / 0.8542 GB, free: 48.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02082/2.101, allocations: 21.37 MB / 0.8751 GB, free: 26.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/2.101, allocations: 7.938 kB / 0.8751 GB, free: 26.11 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2501/2.351, allocations: 13.86 MB / 0.8886 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005545/2.357, allocations: 1.366 MB / 0.8899 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001999/2.359, allocations: 111.1 kB / 0.89 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004387/2.363, allocations: 284.5 kB / 0.8903 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/2.364, allocations: 407.9 kB / 0.8907 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003871/2.365, allocations: 155 kB / 0.8908 GB, free: 134.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.009267/2.374, allocations: 3.968 MB / 0.8947 GB, free: 134.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.21e-07/2.374, allocations: 0 / 0.8947 GB, free: 134.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01558/2.389, allocations: 2.376 MB / 0.897 GB, free: 134.7 MB / 478.1 MB 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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/2.391, allocations: 324.8 kB / 0.8973 GB, free: 134.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01599/2.407, allocations: 10.07 MB / 0.9072 GB, free: 131.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/2.407, allocations: 3.969 kB / 0.9072 GB, free: 131.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008275/2.415, allocations: 5.484 MB / 0.9125 GB, free: 128.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009685/2.425, allocations: 1.546 MB / 0.9141 GB, free: 128.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05057/2.476, allocations: 31.32 MB / 0.9446 GB, free: 110.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01083/2.487, allocations: 8.927 MB / 0.9534 GB, free: 107.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007678/2.494, allocations: 2.592 MB / 0.9559 GB, free: 106 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/2.496, allocations: 464.8 kB / 0.9563 GB, free: 105.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/2.496, allocations: 0 / 0.9563 GB, free: 105.6 MB / 478.1 MB Notification: Performance of Templates: time 0.1583/2.654, allocations: 99.68 MB / 1.054 GB, free: 8.895 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)