Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.009857/0.009857, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.501/1.501, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004829/0.0004829, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2241, allocations: 47.57 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01283/0.237, allocations: 12.58 MB / 339.6 MB, free: 6.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009984/0.247, allocations: 4.633 MB / 344.2 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.2502, allocations: 67.69 kB / 344.3 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003305/0.2536, allocations: 0.9681 MB / 345.3 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004695/0.2583, allocations: 1.232 MB / 346.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.261, allocations: 0.8889 MB / 347.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005936/0.2669, allocations: 4.308 MB / 351.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004008/0.2709, allocations: 2.647 MB / 354.4 MB, free: 7.895 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.2733, allocations: 1.338 MB / 355.7 MB, free: 6.551 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/0.2764, allocations: 1.754 MB / 357.5 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008291/0.2773, allocations: 208 kB / 357.7 MB, free: 4.586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.279, allocations: 459.7 kB / 358.1 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.2802, allocations: 0.786 MB / 358.9 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.2824, allocations: 1.77 MB / 360.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007249/0.2897, allocations: 6.353 MB / 367 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2897, allocations: 4 kB / 367 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2897, allocations: 0 / 367 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001556/0.2899, allocations: 0 / 367 MB, free: 11.18 MB / 302.1 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.009655/0.2996, allocations: 3.793 MB / 370.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2996, allocations: 12.03 kB / 370.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/0.3042, allocations: 0.8279 MB / 371.6 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00398/0.3082, allocations: 2.252 MB / 373.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.3084, allocations: 242.4 kB / 374.1 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005375/0.3089, allocations: 323.9 kB / 374.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007393/0.3163, allocations: 4.28 MB / 378.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.032e-05/0.3164, allocations: 4 kB / 378.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003006/0.3167, allocations: 128 kB / 378.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.3169, allocations: 158.4 kB / 379 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006113/0.323, allocations: 3.621 MB / 382.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02105/0.3441, allocations: 13.48 MB / 396.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006914/0.351, allocations: 6.97 MB / 403.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002285/0.3533, allocations: 1.39 MB / 404.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006277/0.3596, allocations: 3.848 MB / 408.3 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.361, allocations: 0.8532 MB / 409.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=131): time 2.996e-06/0.361, allocations: 0 / 409.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=139): time 0.01264/0.3737, allocations: 6.528 MB / 415.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.3738, allocations: 222.9 kB / 415.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/0.377, allocations: 1.907 MB / 417.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.3771, allocations: 49.7 kB / 417.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.3786, allocations: 1.478 MB / 419.4 MB, free: 5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004379/0.3791, allocations: 485 kB / 419.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.3793, allocations: 137.6 kB / 420 MB, free: 4.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3794, allocations: 305.1 kB / 420.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.3805, allocations: 0.6637 MB / 420.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.3822, allocations: 1.218 MB / 422.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/0.3849, allocations: 1.94 MB / 424.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.385, allocations: 7.938 kB / 424.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004716/0.3897, allocations: 2.44 MB / 426.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.3897, allocations: 12.28 kB / 426.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/0.3898, allocations: 16 kB / 426.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008192/0.3906, allocations: 279.2 kB / 426.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.392, allocations: 383.4 kB / 427.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00549/0.3975, allocations: 5.867 MB / 433.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.3991, allocations: 99.92 kB / 433.2 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.3993, allocations: 71.98 kB / 433.2 MB, free: 6.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (196): * Single equations (assignments): 192 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001813/0.4011, allocations: 1.035 MB / 434.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/0.4014, allocations: 201.5 kB / 434.5 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/0.4054, allocations: 2.254 MB / 436.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.4054, allocations: 12 kB / 436.7 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.4054, allocations: 8 kB / 436.8 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.4055, allocations: 11.97 kB / 436.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007792/0.4133, allocations: 5.11 MB / 441.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4133, allocations: 3.938 kB / 441.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007832/0.4141, allocations: 183.8 kB / 442.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.4153, allocations: 452 kB / 442.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.4154, allocations: 43.97 kB / 442.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009614/0.425, allocations: 10.2 MB / 452.7 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.425, allocations: 4.031 kB / 452.7 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1668/0.5918, allocations: 3.142 MB / 455.9 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.5929, allocations: 433.9 kB / 456.3 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.5932, allocations: 36.03 kB / 456.3 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009159/0.5941, allocations: 68.56 kB / 456.4 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/0.5944, allocations: 103.8 kB / 456.5 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.5945, allocations: 44.58 kB / 456.6 MB, free: 107.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00185/0.5964, allocations: 1.314 MB / 457.9 MB, free: 107.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5964, allocations: 0 / 457.9 MB, free: 107.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002117/0.5985, allocations: 0.5784 MB / 458.4 MB, free: 107.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (102): * Single equations (assignments): 95 * 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,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.001093/0.5996, allocations: 477.8 kB / 458.9 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003171/0.6028, allocations: 2.183 MB / 461.1 MB, free: 106.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6028, allocations: 0 / 461.1 MB, free: 106.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.6047, allocations: 1.579 MB / 462.7 MB, free: 105.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.6073, allocations: 0.5003 MB / 463.2 MB, free: 105.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00842/0.6157, allocations: 7.364 MB / 470.5 MB, free: 101 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.6173, allocations: 2.351 MB / 472.9 MB, free: 99.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00127/0.6186, allocations: 409.3 kB / 473.3 MB, free: 99.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.6189, allocations: 130.4 kB / 473.4 MB, free: 99.8 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6189, allocations: 4 kB / 473.4 MB, free: 99.8 MB / 382.1 MB Notification: Performance of Templates: time 0.04051/0.6594, allocations: 28.56 MB / 0.4902 GB, free: 72.63 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1)