Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_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.001582/0.001582, allocations: 107.1 kB / 18.4 MB, free: 4.652 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.001845/0.001845, allocations: 188.5 kB / 19.34 MB, free: 3.727 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.273/1.273, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001187/0.001187, allocations: 51.94 kB / 329.2 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07071/0.0719, allocations: 46.62 MB / 375.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.1495/0.2214, allocations: 13.38 MB / 389.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007366/0.2288, allocations: 4.752 MB / 394 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.2308, allocations: 71.22 kB / 394 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.2332, allocations: 1.143 MB / 395.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.2362, allocations: 1.399 MB / 396.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.2382, allocations: 0.9711 MB / 397.6 MB, free: 392 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004115/0.2423, allocations: 4.061 MB / 401.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003365/0.2457, allocations: 3.215 MB / 404.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.2482, allocations: 1.919 MB / 406.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.2509, allocations: 2.165 MB / 408.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006521/0.2516, allocations: 0.5085 MB / 409.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.2531, allocations: 0.7478 MB / 410.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001/0.2541, allocations: 1.144 MB / 411.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002171/0.2563, allocations: 2.146 MB / 413.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006752/0.263, allocations: 6.809 MB / 420.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2631, allocations: 0 / 420.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2631, allocations: 0 / 420.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000114/0.2632, allocations: 0 / 420.3 MB, free: 3.145 MB / 334.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.01059/0.2738, allocations: 4.58 MB / 424.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2738, allocations: 8.031 kB / 424.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004211/0.2781, allocations: 0.8455 MB / 425.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/0.2817, allocations: 2.336 MB / 428 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.2819, allocations: 234.4 kB / 428.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004707/0.2824, allocations: 323.9 kB / 428.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006575/0.289, allocations: 4.288 MB / 432.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.097e-05/0.289, allocations: 7.938 kB / 432.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.2893, allocations: 136 kB / 433 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.2895, allocations: 150.4 kB / 433.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005842/0.2953, allocations: 3.617 MB / 436.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01822/0.3136, allocations: 13.29 MB / 450.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007009/0.3206, allocations: 6.962 MB / 457 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.3229, allocations: 1.363 MB / 458.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00631/0.3292, allocations: 3.825 MB / 462.2 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/0.3306, allocations: 0.8455 MB / 463.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 2.906e-06/0.3306, allocations: 0 / 463.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01224/0.3428, allocations: 6.557 MB / 469.6 MB, free: 24 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.343, allocations: 222.9 kB / 469.8 MB, free: 15.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.3456, allocations: 1.915 MB / 471.8 MB, free: 13.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.821e-05/0.3457, allocations: 49.7 kB / 471.8 MB, free: 13.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.3469, allocations: 1.51 MB / 473.3 MB, free: 12.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.3473, allocations: 0.4958 MB / 473.8 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004826/0.3478, allocations: 311.5 kB / 474.1 MB, free: 11.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.3479, allocations: 309.1 kB / 474.4 MB, free: 11.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.349, allocations: 0.6637 MB / 475.1 MB, free: 10.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.3505, allocations: 1.214 MB / 476.3 MB, free: 9.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/0.3531, allocations: 1.928 MB / 478.2 MB, free: 6.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.3531, allocations: 12 kB / 478.2 MB, free: 6.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003898/0.357, allocations: 2.441 MB / 480.7 MB, free: 4.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3571, allocations: 12 kB / 480.7 MB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.3571, allocations: 16 kB / 480.7 MB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007382/0.3579, allocations: 291.4 kB / 481 MB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.3593, allocations: 383.4 kB / 481.4 MB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005746/0.3651, allocations: 6.371 MB / 487.7 MB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.3665, allocations: 99.91 kB / 487.8 MB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.3666, allocations: 68 kB / 487.9 MB, free: 12.77 MB / 414.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.001539/0.3682, allocations: 1.039 MB / 488.9 MB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.3684, allocations: 206.7 kB / 489.1 MB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.3723, allocations: 2.25 MB / 491.4 MB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.3723, allocations: 7.969 kB / 491.4 MB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3723, allocations: 4 kB / 491.4 MB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/0.373, allocations: 443.6 kB / 491.8 MB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.3733, allocations: 35.98 kB / 491.9 MB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008044/0.3741, allocations: 63.89 kB / 491.9 MB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.3743, allocations: 109.1 kB / 492 MB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004341/0.3787, allocations: 2.149 MB / 494.2 MB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003576/0.3822, allocations: 2.54 MB / 496.7 MB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001007/0.3833, allocations: 0.7012 MB / 497.4 MB, free: 3.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001834/0.3851, allocations: 1.319 MB / 498.7 MB, free: 1.797 MB / 414.1 MB Notification: Performance of Backend: time 5.01e-07/0.3851, allocations: 0 / 498.7 MB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004326/0.3895, allocations: 2.188 MB / 0.4892 GB, free: 15.54 MB / 430.1 MB Notification: Performance of SimCode: time 0.009687/0.3992, allocations: 6.556 MB / 0.4956 GB, free: 8.922 MB / 430.1 MB Notification: Performance of Templates: time 0.05514/0.4543, allocations: 33.86 MB / 0.5287 GB, free: 6.996 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1)