Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.006631/0.006631, allocations: 101.4 kB / 15.73 MB, free: 6.051 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.001345/0.001345, allocations: 188.3 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.544/1.544, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001212/0.001212, allocations: 41.88 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03501/0.1499, allocations: 34.07 MB / 407.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02684/0.1768, allocations: 9.559 MB / 416.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01055/0.1874, allocations: 211.2 kB / 417.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02336/0.2109, allocations: 8.154 MB / 425.2 MB, free: 13.08 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.01702/0.2279, allocations: 3.799 MB / 429 MB, free: 9.262 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009452/0.2374, allocations: 2.308 MB / 431.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02314/0.2606, allocations: 13.33 MB / 444.6 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3149/0.5755, allocations: 22.63 MB / 467.3 MB, free: 8.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01338/0.589, allocations: 6.697 MB / 474 MB, free: 8.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01491/0.6039, allocations: 7.436 MB / 481.4 MB, free: 6.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007047/0.611, allocations: 1.905 MB / 483.3 MB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008809/0.6198, allocations: 2.312 MB / 485.6 MB, free: 6.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00686/0.6267, allocations: 3.845 MB / 489.5 MB, free: 6.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01503/0.6418, allocations: 7.272 MB / 496.7 MB, free: 2.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03864/0.6804, allocations: 25.39 MB / 0.5099 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.6805, allocations: 0 / 0.5099 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6805, allocations: 0 / 0.5099 GB, free: 14.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007933/0.6813, allocations: 0 / 0.5099 GB, free: 14.5 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.0492/0.7305, allocations: 15.28 MB / 0.5248 GB, free: 15.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.7306, allocations: 8.031 kB / 0.5248 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04418/0.7748, allocations: 7.811 MB / 0.5325 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01818/0.793, allocations: 7.43 MB / 0.5397 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009604/0.794, allocations: 0.8205 MB / 0.5405 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006244/0.8002, allocations: 1.094 MB / 0.5416 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05634/0.8566, allocations: 17.87 MB / 0.559 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004217/0.8571, allocations: 23.5 kB / 0.5591 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004404/0.8615, allocations: 460 kB / 0.5595 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006986/0.8622, allocations: 0.6752 MB / 0.5602 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04247/0.9047, allocations: 17.06 MB / 0.5768 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1199/1.025, allocations: 56.28 MB / 0.6318 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4753/1.5, allocations: 42.42 MB / 0.6732 GB, free: 133.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009038/1.509, allocations: 4.58 MB / 0.6777 GB, free: 131.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02177/1.531, allocations: 13.19 MB / 0.6906 GB, free: 125.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004168/1.535, allocations: 3.084 MB / 0.6936 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=434): time 7.284e-06/1.535, allocations: 3.969 kB / 0.6936 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.04883/1.584, allocations: 23.64 MB / 0.7167 GB, free: 114.7 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/1.584, allocations: 408.2 kB / 0.717 GB, free: 114.3 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007132/1.591, allocations: 4.73 MB / 0.7217 GB, free: 111.2 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009628/1.592, allocations: 105.4 kB / 0.7218 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004/1.596, allocations: 5.051 MB / 0.7267 GB, free: 106.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002099/1.598, allocations: 1.631 MB / 0.7283 GB, free: 105.2 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001767/1.6, allocations: 1.2 MB / 0.7295 GB, free: 104 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.077e-05/1.6, allocations: 305.1 kB / 0.7298 GB, free: 103.7 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003786/1.604, allocations: 2.89 MB / 0.7326 GB, free: 100.8 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004831/1.609, allocations: 5.301 MB / 0.7378 GB, free: 94.38 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00974/1.619, allocations: 8.691 MB / 0.7462 GB, free: 84.64 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.867e-05/1.619, allocations: 20 kB / 0.7463 GB, free: 84.62 MB / 0.5138 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01601/1.635, allocations: 9.909 MB / 0.7559 GB, free: 74.66 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.149e-05/1.635, allocations: 40 kB / 0.756 GB, free: 74.62 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.882e-05/1.635, allocations: 72 kB / 0.756 GB, free: 74.55 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003576/1.639, allocations: 1.498 MB / 0.7575 GB, free: 73.04 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005303/1.644, allocations: 1.404 MB / 0.7589 GB, free: 71.63 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/1.661, allocations: 17.65 MB / 0.7761 GB, free: 53.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006753/1.668, allocations: 363.9 kB / 0.7765 GB, free: 52.95 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/1.669, allocations: 304 kB / 0.7767 GB, free: 52.65 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.01024/1.68, allocations: 3.978 MB / 0.7806 GB, free: 48.66 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/1.681, allocations: 0.5318 MB / 0.7811 GB, free: 48.12 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/1.695, allocations: 7.964 MB / 0.7889 GB, free: 40.07 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/1.695, allocations: 47.98 kB / 0.789 GB, free: 40.03 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.556e-05/1.695, allocations: 18.91 kB / 0.789 GB, free: 40.01 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/1.695, allocations: 23.91 kB / 0.789 GB, free: 39.99 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.722, allocations: 17.45 MB / 0.8061 GB, free: 22.46 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/1.722, allocations: 7.984 kB / 0.8061 GB, free: 22.45 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003052/1.725, allocations: 0.7534 MB / 0.8068 GB, free: 21.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003875/1.729, allocations: 1.564 MB / 0.8083 GB, free: 20.11 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005357/1.73, allocations: 104 kB / 0.8084 GB, free: 20 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3494/2.079, allocations: 21.29 MB / 0.8292 GB, free: 153.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-05/2.079, allocations: 7.219 kB / 0.8292 GB, free: 153.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02512/2.104, allocations: 11.51 MB / 0.8405 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004469/2.109, allocations: 1.179 MB / 0.8416 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001796/2.11, allocations: 99.5 kB / 0.8417 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/2.114, allocations: 238.9 kB / 0.8419 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009611/2.115, allocations: 336.7 kB / 0.8423 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000313/2.115, allocations: 137.8 kB / 0.8424 GB, free: 151 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006073/2.121, allocations: 3.201 MB / 0.8455 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.9e-07/2.121, allocations: 0 / 0.8455 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009302/2.13, allocations: 1.922 MB / 0.8474 GB, free: 149.6 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.001867/2.132, allocations: 0.5801 MB / 0.848 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01295/2.145, allocations: 8.246 MB / 0.856 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/2.145, allocations: 0 / 0.856 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008176/2.153, allocations: 4.666 MB / 0.8606 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009645/2.163, allocations: 1.343 MB / 0.8619 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03889/2.202, allocations: 20.08 MB / 0.8815 GB, free: 133.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/2.213, allocations: 6.919 MB / 0.8883 GB, free: 129.7 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005797/2.219, allocations: 1.93 MB / 0.8901 GB, free: 128.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/2.22, allocations: 397.6 kB / 0.8905 GB, free: 128 MB / 0.5138 GB Notification: Performance of SimCode: time 3.326e-06/2.22, allocations: 4 kB / 0.8905 GB, free: 128 MB / 0.5138 GB Notification: Performance of Templates: time 0.1262/2.347, allocations: 82.57 MB / 0.9712 GB, free: 48.48 MB / 0.5138 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)