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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001023/0.001023, allocations: 180.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.131/1.131, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001683/0.001682, allocations: 111 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002869, allocations: 11.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07372/0.07402, allocations: 44.48 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/0.3109, allocations: 107.3 MB / 462.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.3112, allocations: 92.61 kB / 462.4 MB, free: 14.76 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3328/0.644, allocations: 83.07 MB / 0.5327 GB, free: 83.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.644, allocations: 4 kB / 0.5327 GB, free: 83.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002034/0.6442, allocations: 79.44 kB / 0.5328 GB, free: 83.03 MB / 394.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.007123/0.6514, allocations: 3.673 MB / 0.5364 GB, free: 81.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.6514, allocations: 12.09 kB / 0.5364 GB, free: 81.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003351/0.6548, allocations: 0.7367 MB / 0.5371 GB, free: 81.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006631/0.6614, allocations: 3.374 MB / 0.5404 GB, free: 80.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.6616, allocations: 243.2 kB / 0.5406 GB, free: 80.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000415/0.662, allocations: 327 kB / 0.5409 GB, free: 80.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005379/0.6674, allocations: 4.197 MB / 0.545 GB, free: 80.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.876e-05/0.6674, allocations: 7.875 kB / 0.5451 GB, free: 80.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002752/0.6677, allocations: 134.4 kB / 0.5452 GB, free: 80.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.192e-05/0.6678, allocations: 153.9 kB / 0.5453 GB, free: 80.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004317/0.6722, allocations: 3.417 MB / 0.5487 GB, free: 80.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/0.687, allocations: 13.52 MB / 0.5619 GB, free: 74.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/0.6915, allocations: 6.953 MB / 0.5687 GB, free: 68.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004193/0.6958, allocations: 3.339 MB / 0.5719 GB, free: 66.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.6968, allocations: 0.917 MB / 0.5728 GB, free: 66.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=143): time 2.565e-06/0.6968, allocations: 0 / 0.5728 GB, free: 66.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=152): time 0.01023/0.7071, allocations: 6.951 MB / 0.5796 GB, free: 62.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.7071, allocations: 223.9 kB / 0.5798 GB, free: 62.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.7089, allocations: 1.651 MB / 0.5814 GB, free: 61.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.031e-05/0.709, allocations: 52.42 kB / 0.5815 GB, free: 61.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008093/0.7098, allocations: 1.457 MB / 0.5829 GB, free: 60.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.71, allocations: 0.5166 MB / 0.5834 GB, free: 60.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.7101, allocations: 35.78 kB / 0.5834 GB, free: 60.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.7102, allocations: 373.4 kB / 0.5838 GB, free: 59.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008768/0.7111, allocations: 0.7166 MB / 0.5845 GB, free: 59.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.7122, allocations: 1.242 MB / 0.5857 GB, free: 58.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.7133, allocations: 0.973 MB / 0.5867 GB, free: 58.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.7133, allocations: 7.375 kB / 0.5867 GB, free: 58.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003018/0.7163, allocations: 2.584 MB / 0.5892 GB, free: 56.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.7164, allocations: 42.42 kB / 0.5892 GB, free: 56.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.7164, allocations: 11.16 kB / 0.5892 GB, free: 56.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005826/0.717, allocations: 294 kB / 0.5895 GB, free: 56.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.7183, allocations: 402.7 kB / 0.5899 GB, free: 56.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.7221, allocations: 5.923 MB / 0.5957 GB, free: 51.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.7233, allocations: 103 kB / 0.5958 GB, free: 51.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.7234, allocations: 74.28 kB / 0.5959 GB, free: 51.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (205): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 1 * 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.001417/0.7248, allocations: 1.049 MB / 0.5969 GB, free: 50.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.725, allocations: 199.2 kB / 0.5971 GB, free: 50.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/0.7281, allocations: 2.386 MB / 0.5994 GB, free: 49.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.7281, allocations: 14.78 kB / 0.5994 GB, free: 49.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.7282, allocations: 7 kB / 0.5994 GB, free: 49.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.7282, allocations: 7.641 kB / 0.5994 GB, free: 49.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006451/0.7346, allocations: 5.425 MB / 0.6047 GB, free: 47.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.7347, allocations: 6.062 kB / 0.6047 GB, free: 47.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007935/0.7355, allocations: 202.9 kB / 0.6049 GB, free: 47.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009464/0.7364, allocations: 468 kB / 0.6054 GB, free: 46.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.509e-05/0.7365, allocations: 41.41 kB / 0.6054 GB, free: 46.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006831/0.7433, allocations: 10.31 MB / 0.6155 GB, free: 37.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.7434, allocations: 4.031 kB / 0.6155 GB, free: 37.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003821/0.7472, allocations: 3.433 MB / 0.6188 GB, free: 33.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008284/0.748, allocations: 452.3 kB / 0.6193 GB, free: 33.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.7483, allocations: 36 kB / 0.6193 GB, free: 33.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008211/0.7491, allocations: 73.45 kB / 0.6194 GB, free: 33.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.7493, allocations: 112.7 kB / 0.6195 GB, free: 33.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.583e-05/0.7494, allocations: 45.81 kB / 0.6195 GB, free: 33.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001547/0.7509, allocations: 1.264 MB / 0.6208 GB, free: 32.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7509, allocations: 4 kB / 0.6208 GB, free: 32.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002015/0.7529, allocations: 0.6519 MB / 0.6214 GB, free: 31.52 MB / 394.7 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 (115): * Single equations (assignments): 108 * 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%) 8,(1,100.0%) 3,(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.001119/0.7541, allocations: 0.6465 MB / 0.622 GB, free: 31.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.7568, allocations: 2.371 MB / 0.6243 GB, free: 28.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7568, allocations: 4 kB / 0.6243 GB, free: 28.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.7585, allocations: 1.635 MB / 0.6259 GB, free: 27.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.7603, allocations: 0.4938 MB / 0.6264 GB, free: 26.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008726/0.7691, allocations: 7.132 MB / 0.6334 GB, free: 20.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.7707, allocations: 2.414 MB / 0.6357 GB, free: 18.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001581/0.7723, allocations: 422.2 kB / 0.6361 GB, free: 18.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.7726, allocations: 142 kB / 0.6363 GB, free: 17.99 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7727, allocations: 0 / 0.6363 GB, free: 17.99 MB / 394.7 MB Notification: Performance of Templates: time 0.04373/0.8164, allocations: 31 MB / 0.6666 GB, free: 4.781 MB / 410.7 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)