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.001157/0.001157, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001147/0.001147, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.546/1.546, allocations: 205.1 MB / 223.7 MB, free: 12.34 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.001421/0.001421, allocations: 59.91 kB / 280 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1061, allocations: 46.63 MB / 326.7 MB, free: 4.449 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.0353/0.1414, allocations: 34.07 MB / 360.7 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02212/0.1636, allocations: 9.57 MB / 370.3 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/0.1739, allocations: 215.2 kB / 370.5 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02158/0.1956, allocations: 8.147 MB / 378.6 MB, free: 232 kB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.2329/0.4285, allocations: 3.795 MB / 382.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01036/0.4389, allocations: 2.306 MB / 384.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02403/0.4629, allocations: 13.24 MB / 398 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04126/0.5043, allocations: 22.77 MB / 420.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01586/0.5202, allocations: 6.687 MB / 427.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01544/0.5357, allocations: 7.462 MB / 434.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007035/0.5428, allocations: 1.91 MB / 436.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01222/0.555, allocations: 2.313 MB / 439.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008603/0.5637, allocations: 3.856 MB / 443 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.023/0.5867, allocations: 7.275 MB / 450.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03634/0.6231, allocations: 25.2 MB / 475.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.6232, allocations: 4 kB / 475.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6232, allocations: 0 / 475.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008384/0.624, allocations: 0 / 475.5 MB, free: 9.207 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: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.0514/0.6754, allocations: 15.05 MB / 490.5 MB, free: 10.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.6755, allocations: 15.97 kB / 490.5 MB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04213/0.7176, allocations: 7.704 MB / 498.2 MB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/0.7337, allocations: 7.377 MB / 0.4938 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008757/0.7346, allocations: 0.833 MB / 0.4946 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004502/0.7391, allocations: 1.09 MB / 0.4956 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04611/0.7852, allocations: 17.86 MB / 0.5131 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006555/0.7859, allocations: 27.8 kB / 0.5131 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00451/0.7904, allocations: 458.3 kB / 0.5136 GB, free: 7.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007821/0.7912, allocations: 0.6636 MB / 0.5142 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03838/0.8296, allocations: 17.05 MB / 0.5309 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3597/1.189, allocations: 56.81 MB / 0.5863 GB, free: 110 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03116/1.221, allocations: 42.43 MB / 0.6278 GB, free: 69.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00888/1.23, allocations: 4.599 MB / 0.6323 GB, free: 66.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0317/1.261, allocations: 13.21 MB / 0.6452 GB, free: 54.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006418/1.268, allocations: 3.094 MB / 0.6482 GB, free: 50.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 1.501e-05/1.268, allocations: 0 / 0.6482 GB, free: 50.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.05955/1.327, allocations: 23.47 MB / 0.6711 GB, free: 27.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.328, allocations: 411.4 kB / 0.6715 GB, free: 26.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.338, allocations: 4.721 MB / 0.6761 GB, free: 22.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001353/1.339, allocations: 101.7 kB / 0.6762 GB, free: 21.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004812/1.344, allocations: 4.894 MB / 0.681 GB, free: 17.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00243/1.347, allocations: 1.554 MB / 0.6825 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001996/1.349, allocations: 1.196 MB / 0.6837 GB, free: 14.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.159e-05/1.349, allocations: 305.1 kB / 0.684 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003998/1.353, allocations: 2.886 MB / 0.6868 GB, free: 11.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00506/1.358, allocations: 5.314 MB / 0.692 GB, free: 4.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/1.37, allocations: 8.683 MB / 0.7004 GB, free: 10.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.913e-05/1.37, allocations: 24 kB / 0.7005 GB, free: 10.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.02148/1.392, allocations: 9.891 MB / 0.7101 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.003e-05/1.392, allocations: 37.41 kB / 0.7102 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001622/1.392, allocations: 72.84 kB / 0.7102 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2604/1.652, allocations: 1.499 MB / 0.7117 GB, free: 149.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006817/1.659, allocations: 1.407 MB / 0.7131 GB, free: 149.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/1.68, allocations: 17.65 MB / 0.7303 GB, free: 139.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005916/1.686, allocations: 367.2 kB / 0.7307 GB, free: 139.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.688, allocations: 305.7 kB / 0.7309 GB, free: 139.4 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.01108/1.699, allocations: 3.967 MB / 0.7348 GB, free: 137.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002034/1.701, allocations: 0.5135 MB / 0.7353 GB, free: 137.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.714, allocations: 7.959 MB / 0.7431 GB, free: 134 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/1.714, allocations: 48.5 kB / 0.7431 GB, free: 134 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/1.714, allocations: 15.81 kB / 0.7432 GB, free: 134 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.179e-05/1.714, allocations: 22.31 kB / 0.7432 GB, free: 134 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02885/1.743, allocations: 17.54 MB / 0.7603 GB, free: 126.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.743, allocations: 5.203 kB / 0.7603 GB, free: 126.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/1.746, allocations: 0.7567 MB / 0.761 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003989/1.75, allocations: 1.567 MB / 0.7626 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005323/1.751, allocations: 110.3 kB / 0.7627 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01959/1.77, allocations: 21.3 MB / 0.7835 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.771, allocations: 7.938 kB / 0.7835 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/1.787, allocations: 11.47 MB / 0.7947 GB, free: 93.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003404/1.791, allocations: 1.156 MB / 0.7958 GB, free: 92.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/1.792, allocations: 99.98 kB / 0.7959 GB, free: 92.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/1.795, allocations: 231.8 kB / 0.7961 GB, free: 92.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/1.796, allocations: 335.6 kB / 0.7965 GB, free: 91.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002664/1.796, allocations: 136 kB / 0.7966 GB, free: 91.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005016/1.801, allocations: 3.205 MB / 0.7997 GB, free: 88.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.801, allocations: 0 / 0.7997 GB, free: 88.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00842/1.81, allocations: 1.913 MB / 0.8016 GB, free: 86.65 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.001739/1.811, allocations: 0.5769 MB / 0.8022 GB, free: 86.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.03356/1.845, allocations: 14.49 MB / 0.8163 GB, free: 71.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/1.845, allocations: 5.938 kB / 0.8163 GB, free: 71.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01153/1.857, allocations: 4.663 MB / 0.8209 GB, free: 66.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/1.867, allocations: 1.353 MB / 0.8222 GB, free: 65.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04456/1.912, allocations: 20.02 MB / 0.8417 GB, free: 45.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009724/1.922, allocations: 6.912 MB / 0.8485 GB, free: 38.44 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006401/1.928, allocations: 1.918 MB / 0.8504 GB, free: 36.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/1.93, allocations: 403.4 kB / 0.8507 GB, free: 36.12 MB / 462.1 MB Notification: Performance of SimCode: time 1.614e-06/1.93, allocations: 0 / 0.8507 GB, free: 36.12 MB / 462.1 MB Notification: Performance of Templates: time 0.3839/2.313, allocations: 86.7 MB / 0.9354 GB, free: 103.3 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)