Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009334/0.0009337, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001168/0.001169, allocations: 168.7 kB / 15.95 MB, free: 204 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.59/1.59, allocations: 205.4 MB / 222.1 MB, free: 5.383 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.0004556/0.000456, allocations: 8 kB / 278.9 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2976, allocations: 47.6 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03144/0.3291, allocations: 29.81 MB / 356.3 MB, free: 5.578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02376/0.3529, allocations: 8.884 MB / 365.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007358/0.3603, allocations: 199.2 kB / 365.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007544/0.3679, allocations: 1.775 MB / 367.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.3801, allocations: 3.149 MB / 370.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006442/0.3866, allocations: 1.539 MB / 371.9 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02378/0.4104, allocations: 15.96 MB / 387.8 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04064/0.451, allocations: 17.69 MB / 405.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009782/0.4609, allocations: 4.902 MB / 410.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.4714, allocations: 5.615 MB / 416 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00394/0.4754, allocations: 0.7383 MB / 416.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006908/0.4823, allocations: 1.109 MB / 417.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005093/0.4874, allocations: 2.433 MB / 420.3 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006941/0.4944, allocations: 2.445 MB / 422.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02491/0.5193, allocations: 21.27 MB / 444 MB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5194, allocations: 0 / 444 MB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5194, allocations: 4 kB / 444 MB, free: 13.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007095/0.5201, allocations: 0 / 444 MB, free: 13.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.03751/0.5576, allocations: 12.7 MB / 456.7 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.5577, allocations: 12.03 kB / 456.7 MB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4169/0.9746, allocations: 7.727 MB / 464.5 MB, free: 92.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0166/0.9912, allocations: 7.242 MB / 471.7 MB, free: 88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008216/0.9921, allocations: 0.8223 MB / 472.5 MB, free: 87.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004895/0.997, allocations: 1.09 MB / 473.6 MB, free: 87.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.047/1.044, allocations: 17.78 MB / 491.4 MB, free: 71.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006191/1.045, allocations: 34.64 kB / 491.4 MB, free: 71.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00435/1.049, allocations: 457.8 kB / 491.9 MB, free: 71.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007434/1.05, allocations: 0.6714 MB / 492.6 MB, free: 70.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03698/1.087, allocations: 16.97 MB / 0.4976 GB, free: 53.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1209/1.208, allocations: 56.93 MB / 0.5532 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03893/1.247, allocations: 42.37 MB / 0.5946 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009676/1.257, allocations: 4.616 MB / 0.5991 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03354/1.29, allocations: 13.21 MB / 0.612 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006056/1.296, allocations: 3.086 MB / 0.615 GB, free: 8.402 MB / 462.1 MB Notification: Performance of pre-optimization done (n=434): time 7.314e-06/1.296, allocations: 0 / 0.615 GB, free: 8.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.3061/1.602, allocations: 25.34 MB / 0.6397 GB, free: 152.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/1.603, allocations: 414.8 kB / 0.6401 GB, free: 152.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007658/1.61, allocations: 4.687 MB / 0.6447 GB, free: 150.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009625/1.611, allocations: 99.86 kB / 0.6448 GB, free: 150.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004067/1.615, allocations: 4.888 MB / 0.6496 GB, free: 146.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001944/1.617, allocations: 1.554 MB / 0.6511 GB, free: 145.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000399/1.618, allocations: 130 kB / 0.6512 GB, free: 145.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003176/1.618, allocations: 0.5558 MB / 0.6518 GB, free: 145 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004082/1.622, allocations: 2.866 MB / 0.6546 GB, free: 143.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005248/1.627, allocations: 5.29 MB / 0.6597 GB, free: 139.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00566/1.633, allocations: 3.982 MB / 0.6636 GB, free: 137.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.669e-05/1.633, allocations: 19.06 kB / 0.6636 GB, free: 137.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01623/1.649, allocations: 9.848 MB / 0.6733 GB, free: 131 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.917e-05/1.649, allocations: 36 kB / 0.6733 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/1.65, allocations: 72 kB / 0.6734 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003616/1.653, allocations: 1.514 MB / 0.6748 GB, free: 129.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005364/1.659, allocations: 1.408 MB / 0.6762 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/1.678, allocations: 16.3 MB / 0.6921 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007267/1.685, allocations: 375.6 kB / 0.6925 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001632/1.687, allocations: 304 kB / 0.6928 GB, free: 110.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * 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 (727): * Single equations (assignments): 721 * 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: 5 * 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: 5 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008741/1.695, allocations: 3.966 MB / 0.6967 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001881/1.697, allocations: 0.5017 MB / 0.6971 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/1.712, allocations: 7.962 MB / 0.7049 GB, free: 97.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/1.712, allocations: 47.95 kB / 0.705 GB, free: 97.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-05/1.712, allocations: 16 kB / 0.705 GB, free: 97.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.58e-05/1.712, allocations: 27.91 kB / 0.705 GB, free: 97.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03428/1.747, allocations: 17.51 MB / 0.7221 GB, free: 80.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/1.747, allocations: 8.062 kB / 0.7221 GB, free: 80.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003392/1.75, allocations: 0.7573 MB / 0.7229 GB, free: 79.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00396/1.754, allocations: 1.55 MB / 0.7244 GB, free: 77.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001031/1.755, allocations: 108 kB / 0.7245 GB, free: 77.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/1.775, allocations: 19.56 MB / 0.7436 GB, free: 57.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/1.776, allocations: 13.58 kB / 0.7436 GB, free: 57.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/1.796, allocations: 11.43 MB / 0.7547 GB, free: 45.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003435/1.799, allocations: 1.17 MB / 0.7559 GB, free: 44.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001833/1.801, allocations: 96 kB / 0.756 GB, free: 44.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003438/1.805, allocations: 239.8 kB / 0.7562 GB, free: 44.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009254/1.805, allocations: 339.6 kB / 0.7565 GB, free: 43.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004116/1.806, allocations: 136 kB / 0.7567 GB, free: 43.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006037/1.812, allocations: 3.162 MB / 0.7597 GB, free: 40.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.812, allocations: 0 / 0.7597 GB, free: 40.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00991/1.822, allocations: 1.913 MB / 0.7616 GB, free: 38.54 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.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 (396): * Single equations (assignments): 387 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(14,41.8%) 44,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 3,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002039/1.824, allocations: 0.5769 MB / 0.7622 GB, free: 37.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01523/1.839, allocations: 8.191 MB / 0.7702 GB, free: 29.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/1.839, allocations: 4 kB / 0.7702 GB, free: 29.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007994/1.847, allocations: 4.657 MB / 0.7747 GB, free: 24.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009024/1.856, allocations: 1.295 MB / 0.776 GB, free: 23.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2836/2.14, allocations: 23.83 MB / 0.7993 GB, free: 140.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009444/2.149, allocations: 6.912 MB / 0.806 GB, free: 139.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006339/2.156, allocations: 1.929 MB / 0.8079 GB, free: 139.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/2.157, allocations: 403.1 kB / 0.8083 GB, free: 139.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.322e-06/2.157, allocations: 0 / 0.8083 GB, free: 139.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1349/2.292, allocations: 80.71 MB / 0.8871 GB, free: 69.39 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)