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_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.1_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.1_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.008362/0.008362, allocations: 105.6 kB / 15.74 MB, free: 6.055 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.002141/0.002141, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.49/1.49, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001181/0.001181, allocations: 54.45 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1257, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03745/0.1632, allocations: 34.06 MB / 407.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02465/0.1879, allocations: 9.562 MB / 416.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009985/0.1979, allocations: 215.2 kB / 417.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02143/0.2195, allocations: 8.217 MB / 425.3 MB, free: 13.02 MB / 366.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.01862/0.2381, allocations: 3.885 MB / 429.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009995/0.2481, allocations: 2.3 MB / 431.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02432/0.2725, allocations: 13.35 MB / 444.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4065/0.679, allocations: 22.62 MB / 467.4 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01382/0.6929, allocations: 6.739 MB / 474.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01624/0.7092, allocations: 7.433 MB / 481.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00856/0.7178, allocations: 1.909 MB / 483.5 MB, free: 6.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.7283, allocations: 2.305 MB / 485.8 MB, free: 6.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008626/0.737, allocations: 3.849 MB / 489.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01602/0.753, allocations: 7.277 MB / 496.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03572/0.7888, allocations: 25.34 MB / 0.51 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.7888, allocations: 0 / 0.51 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.7889, allocations: 0 / 0.51 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008697/0.7897, allocations: 4 kB / 0.51 GB, free: 14.53 MB / 414.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.05298/0.8427, allocations: 14.99 MB / 0.5247 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.8428, allocations: 11.88 kB / 0.5247 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04433/0.8871, allocations: 7.745 MB / 0.5322 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0174/0.9046, allocations: 7.415 MB / 0.5395 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008631/0.9055, allocations: 0.8223 MB / 0.5403 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005705/0.9112, allocations: 1.084 MB / 0.5413 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05519/0.9664, allocations: 17.87 MB / 0.5588 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005127/0.967, allocations: 15.38 kB / 0.5588 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004569/0.9716, allocations: 460.6 kB / 0.5593 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007098/0.9723, allocations: 0.6713 MB / 0.5599 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04397/1.016, allocations: 17.05 MB / 0.5766 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1363/1.153, allocations: 56.16 MB / 0.6314 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4623/1.615, allocations: 42.41 MB / 0.6728 GB, free: 134 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007882/1.623, allocations: 4.585 MB / 0.6773 GB, free: 132.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01926/1.642, allocations: 13.16 MB / 0.6902 GB, free: 126 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003621/1.646, allocations: 3.092 MB / 0.6932 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=434): time 7.254e-06/1.646, allocations: 1.75 kB / 0.6932 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.04656/1.692, allocations: 23.48 MB / 0.7161 GB, free: 114.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/1.693, allocations: 412 kB / 0.7165 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007385/1.7, allocations: 4.725 MB / 0.7211 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009329/1.701, allocations: 101.7 kB / 0.7212 GB, free: 111.6 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003839/1.705, allocations: 4.894 MB / 0.726 GB, free: 106.9 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001688/1.707, allocations: 1.549 MB / 0.7275 GB, free: 105.4 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001652/1.708, allocations: 1.196 MB / 0.7287 GB, free: 104.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.026e-05/1.708, allocations: 309.1 kB / 0.729 GB, free: 103.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003538/1.712, allocations: 2.886 MB / 0.7318 GB, free: 101 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004355/1.716, allocations: 5.302 MB / 0.737 GB, free: 94.62 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008599/1.725, allocations: 8.692 MB / 0.7454 GB, free: 84.89 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.836e-05/1.725, allocations: 20 kB / 0.7455 GB, free: 84.87 MB / 0.5138 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.016/1.741, allocations: 9.89 MB / 0.7551 GB, free: 74.93 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.146e-05/1.741, allocations: 40 kB / 0.7552 GB, free: 74.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/1.741, allocations: 76 kB / 0.7552 GB, free: 74.81 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003469/1.745, allocations: 1.496 MB / 0.7567 GB, free: 73.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005128/1.75, allocations: 1.404 MB / 0.7581 GB, free: 71.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/1.767, allocations: 17.63 MB / 0.7753 GB, free: 53.59 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/1.773, allocations: 363.6 kB / 0.7756 GB, free: 53.23 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/1.774, allocations: 304 kB / 0.7759 GB, free: 52.93 MB / 0.5138 GB 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.007241/1.782, allocations: 3.974 MB / 0.7798 GB, free: 48.95 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.783, allocations: 0.5094 MB / 0.7803 GB, free: 48.43 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/1.795, allocations: 7.957 MB / 0.7881 GB, free: 40.39 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/1.795, allocations: 48 kB / 0.7881 GB, free: 40.34 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.795, allocations: 16 kB / 0.7881 GB, free: 40.33 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.678e-05/1.795, allocations: 23.91 kB / 0.7882 GB, free: 40.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02778/1.823, allocations: 17.45 MB / 0.8052 GB, free: 22.78 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.823, allocations: 4 kB / 0.8052 GB, free: 22.77 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002826/1.825, allocations: 0.7534 MB / 0.8059 GB, free: 22.02 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003713/1.829, allocations: 1.563 MB / 0.8075 GB, free: 20.43 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00043/1.83, allocations: 112 kB / 0.8076 GB, free: 20.32 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3343/2.164, allocations: 21.27 MB / 0.8283 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.55e-05/2.164, allocations: 13.5 kB / 0.8284 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02558/2.19, allocations: 11.48 MB / 0.8396 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003895/2.194, allocations: 1.15 MB / 0.8407 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001571/2.195, allocations: 102.1 kB / 0.8408 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003125/2.198, allocations: 228.4 kB / 0.841 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009851/2.199, allocations: 337.3 kB / 0.8413 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003089/2.2, allocations: 135.5 kB / 0.8415 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005798/2.205, allocations: 3.205 MB / 0.8446 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.6e-07/2.205, allocations: 0 / 0.8446 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008408/2.214, allocations: 1.915 MB / 0.8465 GB, free: 150.1 MB / 0.5138 GB 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.001886/2.216, allocations: 0.5743 MB / 0.847 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01438/2.23, allocations: 8.238 MB / 0.8551 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-05/2.23, allocations: 0 / 0.8551 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01388/2.244, allocations: 4.661 MB / 0.8596 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01164/2.256, allocations: 1.353 MB / 0.8609 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04501/2.301, allocations: 19.78 MB / 0.8803 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00885/2.31, allocations: 6.908 MB / 0.887 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005555/2.315, allocations: 1.939 MB / 0.8889 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/2.317, allocations: 398 kB / 0.8893 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of SimCode: time 2.725e-06/2.317, allocations: 4 kB / 0.8893 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.1354/2.452, allocations: 82.57 MB / 0.9699 GB, free: 49.31 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)