Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001806/0.001806, allocations: 112.2 kB / 20.43 MB, free: 4.602 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001916/0.001916, allocations: 213.3 kB / 23.73 MB, free: 2.125 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.669/1.669, allocations: 230.6 MB / 257.4 MB, free: 9.484 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2582/0.2582, allocations: 47.69 MB / 361.6 MB, free: 2.359 MB / 282.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=349,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=349,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.005538/0.005538, allocations: 103.8 kB / 0.4978 GB, free: 6.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1489, allocations: 66.22 MB / 0.5624 GB, free: 4.605 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2654/0.4143, allocations: 12.4 MB / 0.5745 GB, free: 8.852 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009717/0.424, allocations: 4.95 MB / 0.5794 GB, free: 5.457 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.4266, allocations: 107.5 kB / 0.5795 GB, free: 5.414 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004078/0.4306, allocations: 1.097 MB / 0.5806 GB, free: 4.891 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006955/0.4376, allocations: 1.437 MB / 0.582 GB, free: 3.984 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.4407, allocations: 0.9735 MB / 0.5829 GB, free: 3.398 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005798/0.4465, allocations: 4.13 MB / 0.5869 GB, free: 1.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003284/0.4498, allocations: 1.737 MB / 0.5886 GB, free: 332 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004343/0.4541, allocations: 1.99 MB / 0.5906 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005914/0.4601, allocations: 2.201 MB / 0.5927 GB, free: 14.4 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.4613, allocations: 0.5068 MB / 0.5932 GB, free: 14.4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.464, allocations: 0.7493 MB / 0.594 GB, free: 14.32 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001731/0.4657, allocations: 1.156 MB / 0.5951 GB, free: 13.57 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00353/0.4692, allocations: 1.701 MB / 0.5967 GB, free: 12.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.4827, allocations: 6.892 MB / 0.6035 GB, free: 8.637 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.4827, allocations: 3.984 kB / 0.6035 GB, free: 8.633 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4827, allocations: 5.375 kB / 0.6035 GB, free: 8.629 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001658/0.4829, allocations: 0 / 0.6035 GB, free: 8.629 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01848/0.5013, allocations: 4.535 MB / 0.6079 GB, free: 5.562 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5014, allocations: 9.406 kB / 0.6079 GB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006798/0.5082, allocations: 0.8363 MB / 0.6087 GB, free: 5.145 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008355/0.5165, allocations: 2.431 MB / 0.6111 GB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.5169, allocations: 238.9 kB / 0.6113 GB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.5179, allocations: 325.3 kB / 0.6117 GB, free: 3.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.5293, allocations: 4.441 MB / 0.616 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.5294, allocations: 8.016 kB / 0.616 GB, free: 464 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004826/0.5299, allocations: 134.5 kB / 0.6161 GB, free: 356 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002286/0.5301, allocations: 153.5 kB / 0.6163 GB, free: 332 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007713/0.5378, allocations: 3.627 MB / 0.6198 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02355/0.5614, allocations: 11.38 MB / 0.6309 GB, free: 1.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005778/0.5672, allocations: 2.707 MB / 0.6336 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00351/0.5707, allocations: 1.526 MB / 0.6351 GB, free: 13.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007658/0.5783, allocations: 3.448 MB / 0.6384 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/0.58, allocations: 1.02 MB / 0.6394 GB, free: 9.137 MB / 474.7 MB Notification: Performance of pre-optimization done (n=132): time 2.895e-06/0.58, allocations: 7.938 kB / 0.6394 GB, free: 9.129 MB / 474.7 MB Notification: Performance of matching and sorting (n=140): time 0.01473/0.5948, allocations: 6.139 MB / 0.6454 GB, free: 2.938 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/0.5949, allocations: 226.9 kB / 0.6456 GB, free: 2.664 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.5979, allocations: 1.73 MB / 0.6473 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.598, allocations: 49.7 kB / 0.6474 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.6, allocations: 1.552 MB / 0.6489 GB, free: 15.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005049/0.6005, allocations: 0.4996 MB / 0.6494 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005365/0.601, allocations: 311.5 kB / 0.6497 GB, free: 14.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6012, allocations: 301.1 kB / 0.65 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.6024, allocations: 0.6754 MB / 0.6506 GB, free: 13.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.6043, allocations: 1.4 MB / 0.652 GB, free: 11.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/0.6074, allocations: 1.974 MB / 0.6539 GB, free: 9.676 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.6074, allocations: 4.875 kB / 0.6539 GB, free: 9.672 MB / 490.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004648/0.612, allocations: 2.429 MB / 0.6563 GB, free: 7.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.6121, allocations: 8 kB / 0.6563 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.6121, allocations: 19.94 kB / 0.6563 GB, free: 7.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008978/0.613, allocations: 330.2 kB / 0.6566 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.6144, allocations: 383.3 kB / 0.657 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007765/0.6222, allocations: 6.344 MB / 0.6632 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.6237, allocations: 96 kB / 0.6633 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.6239, allocations: 75.98 kB / 0.6634 GB, free: 15.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (193): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002217/0.6261, allocations: 1.033 MB / 0.6644 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004095/0.6265, allocations: 194.8 kB / 0.6646 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/0.6311, allocations: 2.173 MB / 0.6667 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.6311, allocations: 16 kB / 0.6667 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.6311, allocations: 8 kB / 0.6667 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.6311, allocations: 11.97 kB / 0.6667 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008709/0.6398, allocations: 4.342 MB / 0.671 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6398, allocations: 0 / 0.671 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/0.6407, allocations: 187.8 kB / 0.6711 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.6422, allocations: 0.5025 MB / 0.6716 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.6423, allocations: 39.98 kB / 0.6717 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.6556, allocations: 10.8 MB / 0.6822 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6556, allocations: 0 / 0.6822 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006147/0.6617, allocations: 3.078 MB / 0.6852 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.6629, allocations: 346.6 kB / 0.6855 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.6631, allocations: 43.98 kB / 0.6856 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/0.664, allocations: 59.95 kB / 0.6856 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/0.6643, allocations: 109.2 kB / 0.6857 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.695e-05/0.6644, allocations: 47.92 kB / 0.6858 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002008/0.6664, allocations: 1.17 MB / 0.6869 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.6664, allocations: 0 / 0.6869 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002401/0.6688, allocations: 0.582 MB / 0.6875 GB, free: 6.262 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,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.003035/0.6718, allocations: 0.4934 MB / 0.688 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004019/0.6759, allocations: 2.081 MB / 0.69 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6759, allocations: 4.062 kB / 0.69 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002931/0.6788, allocations: 1.547 MB / 0.6915 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.6812, allocations: 464.9 kB / 0.692 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.6928, allocations: 5.923 MB / 0.6978 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002606/0.6954, allocations: 1.81 MB / 0.6995 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001465/0.6969, allocations: 379.5 kB / 0.6999 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.6972, allocations: 131.4 kB / 0.7 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/0.6972, allocations: 0 / 0.7 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.06385/0.7611, allocations: 32.14 MB / 0.7314 GB, free: 9.625 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.971952297259122]