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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 187 kB / 17.92 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000862/0.000862, allocations: 97.81 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007206/0.0007206, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.187, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01062/0.1977, allocations: 13.24 MB / 387.1 MB, free: 35.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006705/0.2044, allocations: 4.689 MB / 391.8 MB, free: 31.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.2061, allocations: 69.06 kB / 391.8 MB, free: 31.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.2081, allocations: 0.9691 MB / 392.8 MB, free: 30.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.2104, allocations: 1.248 MB / 394 MB, free: 29.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.2118, allocations: 0.8954 MB / 394.9 MB, free: 28.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002698/0.2145, allocations: 4.367 MB / 399.3 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.2165, allocations: 2.666 MB / 402 MB, free: 21.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.2175, allocations: 1.537 MB / 403.5 MB, free: 19.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.2188, allocations: 1.988 MB / 405.5 MB, free: 17.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003221/0.2192, allocations: 300 kB / 405.8 MB, free: 17.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008352/0.22, allocations: 0.5349 MB / 406.3 MB, free: 16.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004817/0.2205, allocations: 0.9188 MB / 407.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.2216, allocations: 1.901 MB / 409.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.2248, allocations: 6.562 MB / 415.7 MB, free: 7.453 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2248, allocations: 4 kB / 415.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.2248, allocations: 0 / 415.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.576e-05/0.2249, allocations: 4 kB / 415.7 MB, free: 7.445 MB / 298.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.007365/0.2322, allocations: 4.483 MB / 420.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2323, allocations: 12.03 kB / 420.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.2357, allocations: 0.8163 MB / 421 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.2386, allocations: 2.26 MB / 423.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.2388, allocations: 250.4 kB / 423.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/0.2392, allocations: 315.9 kB / 423.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006595/0.2458, allocations: 4.28 MB / 428.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.054e-05/0.2459, allocations: 7.938 kB / 428.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/0.2462, allocations: 128 kB / 428.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.2463, allocations: 154.4 kB / 428.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005503/0.2518, allocations: 3.617 MB / 432 MB, free: 6.945 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.2689, allocations: 13.42 MB / 445.4 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006036/0.2749, allocations: 6.972 MB / 452.4 MB, free: 1.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.2769, allocations: 1.39 MB / 453.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005315/0.2822, allocations: 3.828 MB / 457.6 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.2834, allocations: 0.8532 MB / 458.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 2.454e-06/0.2834, allocations: 0 / 458.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=139): time 0.01054/0.2939, allocations: 6.497 MB / 465 MB, free: 4.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.2941, allocations: 218.9 kB / 465.2 MB, free: 4.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.2964, allocations: 1.911 MB / 467.1 MB, free: 2.242 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/0.2965, allocations: 49.7 kB / 467.1 MB, free: 2.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.2977, allocations: 1.47 MB / 468.6 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.2981, allocations: 497 kB / 469.1 MB, free: 212 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/0.2985, allocations: 303.3 kB / 469.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.2986, allocations: 305.1 kB / 469.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009738/0.2996, allocations: 0.6637 MB / 470.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.3009, allocations: 1.218 MB / 471.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.3032, allocations: 1.936 MB / 473.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.3033, allocations: 4 kB / 473.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003281/0.3065, allocations: 2.428 MB / 475.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3066, allocations: 13.88 kB / 476 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3066, allocations: 16 kB / 476 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/0.3072, allocations: 287.5 kB / 476.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.3085, allocations: 379.4 kB / 476.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/0.3132, allocations: 5.858 MB / 482.5 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.3142, allocations: 91.95 kB / 482.6 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.3143, allocations: 79.98 kB / 482.7 MB, free: 1.766 MB / 362.7 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.001228/0.3156, allocations: 1.032 MB / 483.7 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.3158, allocations: 201.5 kB / 483.9 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003347/0.3191, allocations: 2.25 MB / 486.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3191, allocations: 12 kB / 486.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.3192, allocations: 8 kB / 486.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.3192, allocations: 7.969 kB / 486.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006593/0.3258, allocations: 5.11 MB / 491.3 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3258, allocations: 8 kB / 491.3 MB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006827/0.3265, allocations: 171.8 kB / 491.4 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.3275, allocations: 468 kB / 491.9 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.05e-05/0.3276, allocations: 39.98 kB / 491.9 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008355/0.336, allocations: 10.19 MB / 0.4904 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.336, allocations: 0 / 0.4904 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1799/0.5159, allocations: 24.97 MB / 0.5147 GB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/0.5167, allocations: 429.7 kB / 0.5152 GB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.5169, allocations: 36.17 kB / 0.5152 GB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/0.5177, allocations: 61.7 kB / 0.5152 GB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/0.518, allocations: 106.8 kB / 0.5153 GB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.5181, allocations: 47.38 kB / 0.5154 GB, free: 110.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001775/0.5199, allocations: 1.318 MB / 0.5167 GB, free: 110.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5199, allocations: 0 / 0.5167 GB, free: 110.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002791/0.5227, allocations: 0.8006 MB / 0.5175 GB, free: 110.1 MB / 394.7 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.001045/0.5237, allocations: 471.1 kB / 0.5179 GB, free: 109.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003202/0.5269, allocations: 2.168 MB / 0.52 GB, free: 108.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.527, allocations: 192 / 0.52 GB, free: 108.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.529, allocations: 1.573 MB / 0.5216 GB, free: 107.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.5314, allocations: 0.5167 MB / 0.5221 GB, free: 107.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.542, allocations: 8.969 MB / 0.5308 GB, free: 102.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.5437, allocations: 2.396 MB / 0.5332 GB, free: 101 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001484/0.5452, allocations: 428.4 kB / 0.5336 GB, free: 100.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.5456, allocations: 142 kB / 0.5337 GB, free: 100.5 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5456, allocations: 0 / 0.5337 GB, free: 100.5 MB / 394.7 MB Notification: Performance of Templates: time 0.04593/0.5915, allocations: 34.18 MB / 0.5671 GB, free: 66.86 MB / 394.7 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)