Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001483/0.001483, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.00158/0.00158, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.0004623/0.0004624, allocations: 8 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2384, allocations: 47.58 MB / 326.5 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01178/0.2502, allocations: 10.79 MB / 337.2 MB, free: 8.699 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008977/0.2592, allocations: 4.504 MB / 341.7 MB, free: 4.188 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002705/0.262, allocations: 63.75 kB / 341.8 MB, free: 4.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.265, allocations: 0.867 MB / 342.7 MB, free: 3.254 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.2692, allocations: 1.199 MB / 343.9 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.2715, allocations: 0.6859 MB / 344.6 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005382/0.2769, allocations: 2.78 MB / 347.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/0.2798, allocations: 2.206 MB / 349.5 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.2819, allocations: 1.273 MB / 350.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/0.2843, allocations: 1.521 MB / 352.3 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004959/0.2848, allocations: 204 kB / 352.5 MB, free: 9.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.286, allocations: 399.7 kB / 352.9 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007621/0.2868, allocations: 0.7475 MB / 353.7 MB, free: 8.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009253/0.2877, allocations: 0.746 MB / 354.4 MB, free: 7.434 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005266/0.293, allocations: 5.497 MB / 359.9 MB, free: 1.922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.293, allocations: 4 kB / 359.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.293, allocations: 0 / 359.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001888/0.2932, allocations: 0 / 359.9 MB, free: 1.918 MB / 286.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.0101/0.3033, allocations: 3.821 MB / 363.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3034, allocations: 8.031 kB / 363.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004577/0.308, allocations: 0.827 MB / 364.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/0.3127, allocations: 2.206 MB / 366.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.3129, allocations: 250.4 kB / 367 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006294/0.3135, allocations: 319.9 kB / 367.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007403/0.321, allocations: 4.237 MB / 371.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.584e-05/0.3211, allocations: 4 kB / 371.6 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003019/0.3214, allocations: 128 kB / 371.7 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/0.3215, allocations: 154.4 kB / 371.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006679/0.3282, allocations: 3.601 MB / 375.5 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02178/0.35, allocations: 13.43 MB / 388.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006757/0.3569, allocations: 6.958 MB / 395.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005768/0.3627, allocations: 3.273 MB / 399.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.364, allocations: 0.9118 MB / 400 MB, free: 8.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=143): time 3.116e-06/0.364, allocations: 0 / 400 MB, free: 8.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=152): time 0.01279/0.3768, allocations: 6.905 MB / 406.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.377, allocations: 226.9 kB / 407.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.3796, allocations: 1.843 MB / 409 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.3797, allocations: 53.7 kB / 409.1 MB, free: 15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.381, allocations: 1.451 MB / 410.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/0.3814, allocations: 0.516 MB / 411 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.107e-05/0.3815, allocations: 32 kB / 411.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3817, allocations: 377.9 kB / 411.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.3829, allocations: 0.6989 MB / 412.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.3843, allocations: 1.222 MB / 413.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.3857, allocations: 0.9277 MB / 414.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.3857, allocations: 4 kB / 414.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004016/0.3898, allocations: 2.498 MB / 416.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.3898, allocations: 12 kB / 416.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.3898, allocations: 12 kB / 416.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007171/0.3906, allocations: 291.5 kB / 417.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.3921, allocations: 399.3 kB / 417.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.3977, allocations: 5.93 MB / 423.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.3992, allocations: 100.1 kB / 423.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.3993, allocations: 79.92 kB / 423.6 MB, free: 15.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001808/0.4011, allocations: 1.032 MB / 424.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.4014, allocations: 209.5 kB / 424.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.4053, allocations: 2.371 MB / 427.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.4054, allocations: 16 kB / 427.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.4054, allocations: 11.94 kB / 427.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.4054, allocations: 7.969 kB / 427.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008405/0.4138, allocations: 5.447 MB / 432.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.4139, allocations: 4 kB / 432.7 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.4148, allocations: 211.6 kB / 432.9 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.4159, allocations: 456.1 kB / 433.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.506e-05/0.416, allocations: 43.98 kB / 433.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009896/0.4259, allocations: 10.3 MB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4259, allocations: 0 / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005344/0.4313, allocations: 3.41 MB / 447.1 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.4324, allocations: 438.5 kB / 447.5 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/0.4327, allocations: 36 kB / 447.5 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008504/0.4335, allocations: 71.95 kB / 447.6 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.4338, allocations: 117.2 kB / 447.7 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.4339, allocations: 40 kB / 447.8 MB, free: 6.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001872/0.4358, allocations: 1.271 MB / 449 MB, free: 5.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4358, allocations: 0 / 449 MB, free: 5.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002157/0.4379, allocations: 0.5861 MB / 449.6 MB, free: 4.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (114): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/0.4391, allocations: 470.7 kB / 450.1 MB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.4427, allocations: 2.269 MB / 452.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4427, allocations: 8 kB / 452.4 MB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.4451, allocations: 1.627 MB / 454 MB, free: 200 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2087/0.6538, allocations: 0.4906 MB / 454.5 MB, free: 111.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.6645, allocations: 7.09 MB / 461.6 MB, free: 108.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.6662, allocations: 2.419 MB / 464 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001506/0.6677, allocations: 418.1 kB / 464.4 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.6681, allocations: 139.5 kB / 464.5 MB, free: 107.3 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6681, allocations: 7.5 kB / 464.5 MB, free: 107.3 MB / 382.1 MB Notification: Performance of Templates: time 0.04199/0.7101, allocations: 27.85 MB / 492.4 MB, free: 83.24 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) Environment - environmentSimulation: