Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001047/0.001047, allocations: 107.9 kB / 16.51 MB, free: 6.707 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.001087/0.001087, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.361/1.361, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.00129/0.00129, allocations: 47.92 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09421, allocations: 46.62 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01591/0.1102, allocations: 13.24 MB / 339.2 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009676/0.1199, allocations: 4.686 MB / 343.9 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.1225, allocations: 71.69 kB / 344 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003388/0.1259, allocations: 0.968 MB / 344.9 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00421/0.1302, allocations: 1.236 MB / 346.2 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.1329, allocations: 0.9044 MB / 347.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006176/0.1391, allocations: 4.32 MB / 351.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004439/0.1436, allocations: 2.666 MB / 354.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.1471, allocations: 1.525 MB / 355.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003648/0.1508, allocations: 1.992 MB / 357.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.1519, allocations: 296 kB / 357.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.1541, allocations: 0.5388 MB / 358.4 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.1554, allocations: 0.911 MB / 359.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00335/0.1588, allocations: 1.909 MB / 361.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007496/0.1663, allocations: 6.562 MB / 367.8 MB, free: 10.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1664, allocations: 0 / 367.8 MB, free: 10.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1664, allocations: 0 / 367.8 MB, free: 10.83 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001647/0.1666, allocations: 4 kB / 367.8 MB, free: 10.83 MB / 318.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.0139/0.1805, allocations: 4.48 MB / 372.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.1805, allocations: 8.031 kB / 372.3 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00532/0.1859, allocations: 0.8201 MB / 373.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004791/0.1907, allocations: 2.264 MB / 375.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.1909, allocations: 242.4 kB / 375.6 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006483/0.1916, allocations: 315.9 kB / 375.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1848/0.3765, allocations: 4.278 MB / 380.2 MB, free: 47.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.12e-05/0.3766, allocations: 2.594 kB / 380.2 MB, free: 47.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003633/0.377, allocations: 131 kB / 380.3 MB, free: 47.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002524/0.3772, allocations: 156 kB / 380.5 MB, free: 47.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008339/0.3856, allocations: 3.619 MB / 384.1 MB, free: 46.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02456/0.4102, allocations: 13.42 MB / 397.5 MB, free: 38.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00556/0.4158, allocations: 6.963 MB / 404.5 MB, free: 31.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.4177, allocations: 1.383 MB / 405.8 MB, free: 30.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005626/0.4233, allocations: 3.838 MB / 409.7 MB, free: 27.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.4245, allocations: 0.8533 MB / 410.5 MB, free: 27.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 2.465e-06/0.4245, allocations: 0 / 410.5 MB, free: 27.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.0119/0.4364, allocations: 6.489 MB / 417 MB, free: 21.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.4365, allocations: 226.9 kB / 417.2 MB, free: 21.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.4397, allocations: 1.918 MB / 419.2 MB, free: 19.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.4398, allocations: 49.7 kB / 419.2 MB, free: 19.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.4412, allocations: 1.47 MB / 420.7 MB, free: 18.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.4415, allocations: 488.5 kB / 421.2 MB, free: 17.65 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/0.442, allocations: 311.3 kB / 421.5 MB, free: 17.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.442, allocations: 309 kB / 421.8 MB, free: 17.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008665/0.4429, allocations: 0.6598 MB / 422.4 MB, free: 16.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.4441, allocations: 1.214 MB / 423.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.4463, allocations: 1.938 MB / 425.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.4464, allocations: 8 kB / 425.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004045/0.4504, allocations: 2.424 MB / 428 MB, free: 10.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.4505, allocations: 12.28 kB / 428 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.4505, allocations: 16 kB / 428 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007065/0.4512, allocations: 290.7 kB / 428.3 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.4525, allocations: 383.4 kB / 428.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/0.4568, allocations: 5.857 MB / 434.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.4583, allocations: 96.02 kB / 434.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.4585, allocations: 73.08 kB / 434.7 MB, free: 3.215 MB / 318.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.002007/0.4605, allocations: 1.039 MB / 435.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006486/0.4612, allocations: 197.6 kB / 435.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004007/0.4652, allocations: 2.254 MB / 438.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.4652, allocations: 16 kB / 438.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.508e-05/0.4653, allocations: 4 kB / 438.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.4653, allocations: 7.969 kB / 438.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009394/0.4747, allocations: 5.102 MB / 443.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.4747, allocations: 0 / 443.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007953/0.4755, allocations: 187.9 kB / 443.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.4768, allocations: 471.7 kB / 444 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/0.4769, allocations: 35.92 kB / 444 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/0.4873, allocations: 10.18 MB / 454.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4873, allocations: 5.516 kB / 454.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005357/0.4927, allocations: 3.13 MB / 457.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.4938, allocations: 426.5 kB / 457.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005541/0.4943, allocations: 43.86 kB / 457.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.4955, allocations: 67.95 kB / 457.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/0.4958, allocations: 101.1 kB / 458 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-05/0.4959, allocations: 40 kB / 458 MB, free: 11.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002256/0.4982, allocations: 1.323 MB / 459.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4982, allocations: 0 / 459.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002464/0.5007, allocations: 0.5808 MB / 459.9 MB, free: 9.117 MB / 350.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.001334/0.502, allocations: 473 kB / 460.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004094/0.5061, allocations: 2.163 MB / 462.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5062, allocations: 0 / 462.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.5087, allocations: 1.584 MB / 464.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.512, allocations: 0.518 MB / 464.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.5257, allocations: 7.183 MB / 471.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/0.5289, allocations: 2.358 MB / 474.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001946/0.5309, allocations: 413 kB / 474.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005908/0.5315, allocations: 135.4 kB / 474.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5315, allocations: 0 / 474.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of Templates: time 0.05413/0.5856, allocations: 28.91 MB / 0.4918 GB, free: 13.2 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1)