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_Conveyor.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_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009325/0.0009327, allocations: 90.03 kB / 16.65 MB, free: 6.582 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.00109/0.00109, allocations: 180.2 kB / 17.56 MB, free: 6.188 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.562/1.562, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0006326/0.0006326, allocations: 12 kB / 280.8 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.1002, allocations: 47.6 MB / 328.4 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03394/0.1342, allocations: 32.15 MB / 360.5 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02221/0.1565, allocations: 9.38 MB / 369.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007745/0.1643, allocations: 199.2 kB / 370.1 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008038/0.1723, allocations: 2.251 MB / 372.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01533/0.1877, allocations: 3.461 MB / 375.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007507/0.1952, allocations: 2.031 MB / 377.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2305/0.4257, allocations: 13.66 MB / 391.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03503/0.4608, allocations: 21.57 MB / 413 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007797/0.4686, allocations: 4.749 MB / 417.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01212/0.4808, allocations: 6.085 MB / 423.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00268/0.4835, allocations: 0.7383 MB / 424.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004726/0.4882, allocations: 1.143 MB / 425.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002565/0.4908, allocations: 2.472 MB / 428.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009024/0.4998, allocations: 5.801 MB / 434 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02628/0.5261, allocations: 23.77 MB / 457.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.5262, allocations: 0 / 457.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.5262, allocations: 3.188 kB / 457.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007981/0.527, allocations: 0 / 457.8 MB, free: 13.51 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.03756/0.5646, allocations: 12.59 MB / 470.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5646, allocations: 8.031 kB / 470.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04316/0.6078, allocations: 7.736 MB / 478.1 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01715/0.625, allocations: 7.353 MB / 485.5 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008659/0.6259, allocations: 0.8274 MB / 486.3 MB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004923/0.6308, allocations: 1.084 MB / 487.4 MB, free: 256 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05228/0.6831, allocations: 17.88 MB / 0.4934 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006782/0.6838, allocations: 19.81 kB / 0.4935 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004261/0.6881, allocations: 461.5 kB / 0.4939 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008901/0.689, allocations: 0.6714 MB / 0.4946 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04043/0.7295, allocations: 17.05 MB / 0.5112 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4811/1.211, allocations: 56.97 MB / 0.5668 GB, free: 114.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02775/1.238, allocations: 42.41 MB / 0.6083 GB, free: 75.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007836/1.246, allocations: 4.618 MB / 0.6128 GB, free: 74.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02164/1.268, allocations: 13.22 MB / 0.6257 GB, free: 65.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003651/1.272, allocations: 3.096 MB / 0.6287 GB, free: 63.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 5.6e-06/1.272, allocations: 0 / 0.6287 GB, free: 63.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.04532/1.317, allocations: 23.55 MB / 0.6517 GB, free: 45.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.317, allocations: 419.3 kB / 0.6521 GB, free: 44.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006729/1.324, allocations: 4.725 MB / 0.6567 GB, free: 40.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001077/1.325, allocations: 97.7 kB / 0.6568 GB, free: 40.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004008/1.329, allocations: 4.895 MB / 0.6616 GB, free: 35.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001633/1.331, allocations: 1.552 MB / 0.6631 GB, free: 33.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006027/1.331, allocations: 495.8 kB / 0.6636 GB, free: 33.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/1.331, allocations: 305.1 kB / 0.6639 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003708/1.335, allocations: 2.89 MB / 0.6667 GB, free: 29.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00463/1.34, allocations: 5.313 MB / 0.6719 GB, free: 23.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009351/1.349, allocations: 8.687 MB / 0.6804 GB, free: 13.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.596e-05/1.349, allocations: 20 kB / 0.6804 GB, free: 13.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01576/1.365, allocations: 9.908 MB / 0.6901 GB, free: 3.793 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.48e-05/1.365, allocations: 41.34 kB / 0.6901 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/1.365, allocations: 72 kB / 0.6902 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003611/1.369, allocations: 1.495 MB / 0.6916 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005335/1.374, allocations: 1.408 MB / 0.693 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2581/1.632, allocations: 16.34 MB / 0.709 GB, free: 141.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005703/1.638, allocations: 369.7 kB / 0.7093 GB, free: 141.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/1.639, allocations: 309.2 kB / 0.7096 GB, free: 141.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (727): * Single equations (assignments): 721 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008146/1.647, allocations: 3.962 MB / 0.7135 GB, free: 141.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/1.648, allocations: 0.508 MB / 0.714 GB, free: 141.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/1.663, allocations: 7.974 MB / 0.7218 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/1.663, allocations: 46.69 kB / 0.7218 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.188e-05/1.663, allocations: 16.28 kB / 0.7218 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.73e-05/1.663, allocations: 28.81 kB / 0.7218 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02756/1.691, allocations: 17.55 MB / 0.739 GB, free: 131.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/1.691, allocations: 6.438 kB / 0.739 GB, free: 131.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/1.694, allocations: 0.7588 MB / 0.7397 GB, free: 131.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003773/1.698, allocations: 1.554 MB / 0.7412 GB, free: 131 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004299/1.698, allocations: 113.6 kB / 0.7414 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/1.717, allocations: 19.59 MB / 0.7605 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.717, allocations: 5.969 kB / 0.7605 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/1.733, allocations: 11.5 MB / 0.7717 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/1.736, allocations: 1.166 MB / 0.7729 GB, free: 110 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009562/1.737, allocations: 99.98 kB / 0.773 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.74, allocations: 238.1 kB / 0.7732 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008062/1.741, allocations: 341.2 kB / 0.7735 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/1.741, allocations: 136 kB / 0.7736 GB, free: 109.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004643/1.745, allocations: 3.201 MB / 0.7768 GB, free: 106 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.32e-07/1.745, allocations: 0 / 0.7768 GB, free: 106 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007708/1.753, allocations: 1.921 MB / 0.7786 GB, free: 104.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,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,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (396): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3,100.0%), (14,44,41.8%), (1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001714/1.755, allocations: 0.5736 MB / 0.7792 GB, free: 103.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01302/1.768, allocations: 8.229 MB / 0.7872 GB, free: 95.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.768, allocations: 4.5 kB / 0.7872 GB, free: 95.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008552/1.777, allocations: 4.669 MB / 0.7918 GB, free: 90.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01665/1.793, allocations: 1.28 MB / 0.793 GB, free: 89.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06054/1.854, allocations: 24.91 MB / 0.8174 GB, free: 64.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01271/1.867, allocations: 6.916 MB / 0.8241 GB, free: 57.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00766/1.874, allocations: 1.925 MB / 0.826 GB, free: 55.39 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/1.876, allocations: 399.4 kB / 0.8264 GB, free: 55 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/1.876, allocations: 4 kB / 0.8264 GB, free: 54.99 MB / 462.1 MB Notification: Performance of Templates: time 0.365/2.241, allocations: 82.51 MB / 0.907 GB, free: 112.4 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)