Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.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.001513/0.001513, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001777/0.001777, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 51.91 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2129, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01398/0.227, allocations: 13.43 MB / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008141/0.2351, allocations: 4.83 MB / 419.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.2364, allocations: 83.69 kB / 419.8 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.2387, allocations: 1.134 MB / 420.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.2416, allocations: 1.418 MB / 422.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.2436, allocations: 0.9841 MB / 423.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004093/0.2477, allocations: 4.074 MB / 427.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.2511, allocations: 3.237 MB / 430.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.2534, allocations: 1.928 MB / 432.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.2557, allocations: 2.168 MB / 434.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005753/0.2563, allocations: 0.5078 MB / 435.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.2575, allocations: 0.7497 MB / 436 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009096/0.2584, allocations: 1.141 MB / 437.1 MB, free: 5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.2603, allocations: 2.147 MB / 439.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00551/0.2658, allocations: 6.804 MB / 446.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2658, allocations: 0 / 446.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2658, allocations: 0 / 446.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.903e-05/0.2659, allocations: 0 / 446.1 MB, free: 12.02 MB / 366.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.009617/0.2755, allocations: 4.487 MB / 450.6 MB, free: 7.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2755, allocations: 8.031 kB / 450.6 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004202/0.2798, allocations: 0.824 MB / 451.4 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/0.2838, allocations: 2.455 MB / 453.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.284, allocations: 238.4 kB / 454.1 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000453/0.2844, allocations: 327.9 kB / 454.4 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006874/0.2913, allocations: 4.288 MB / 458.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.387e-05/0.2914, allocations: 7.938 kB / 458.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/0.2917, allocations: 132 kB / 458.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.2919, allocations: 154.4 kB / 459 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005973/0.2978, allocations: 3.629 MB / 462.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/0.3163, allocations: 13.25 MB / 475.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006513/0.3229, allocations: 6.977 MB / 482.8 MB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.325, allocations: 1.359 MB / 484.2 MB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006161/0.3311, allocations: 3.829 MB / 488 MB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.3324, allocations: 0.861 MB / 488.9 MB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.846e-06/0.3325, allocations: 4 kB / 488.9 MB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.0119/0.3444, allocations: 6.52 MB / 495.4 MB, free: 8.922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.3445, allocations: 226.9 kB / 495.6 MB, free: 8.652 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.347, allocations: 1.902 MB / 497.5 MB, free: 6.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-05/0.3471, allocations: 53.7 kB / 497.6 MB, free: 6.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.3482, allocations: 1.474 MB / 499.1 MB, free: 5.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.3486, allocations: 493 kB / 499.5 MB, free: 4.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/0.3491, allocations: 307.3 kB / 499.8 MB, free: 4.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.287e-05/0.3491, allocations: 305.1 kB / 0.4884 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.3502, allocations: 0.6637 MB / 0.4891 GB, free: 3.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.3516, allocations: 1.217 MB / 0.4902 GB, free: 2.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.3541, allocations: 1.935 MB / 0.4921 GB, free: 15.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.3542, allocations: 4 kB / 0.4921 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003755/0.3579, allocations: 2.436 MB / 0.4945 GB, free: 13.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.358, allocations: 12 kB / 0.4945 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.358, allocations: 12 kB / 0.4945 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006945/0.3587, allocations: 287.5 kB / 0.4948 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.3602, allocations: 379.4 kB / 0.4952 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/0.3659, allocations: 6.385 MB / 0.5014 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.3676, allocations: 95.92 kB / 0.5015 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.3678, allocations: 71.98 kB / 0.5016 GB, free: 5.734 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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.001753/0.3696, allocations: 1.032 MB / 0.5026 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003572/0.3699, allocations: 193.7 kB / 0.5028 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.3738, allocations: 2.269 MB / 0.505 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.3739, allocations: 3.984 kB / 0.505 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3739, allocations: 0 / 0.505 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008098/0.3747, allocations: 430.5 kB / 0.5054 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.375, allocations: 32 kB / 0.5054 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008369/0.3758, allocations: 67.95 kB / 0.5055 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.376, allocations: 113.1 kB / 0.5056 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004425/0.3804, allocations: 2.16 MB / 0.5077 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003539/0.384, allocations: 2.531 MB / 0.5102 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009873/0.385, allocations: 0.709 MB / 0.5109 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001785/0.3868, allocations: 1.311 MB / 0.5122 GB, free: 10.77 MB / 446.1 MB Notification: Performance of Backend: time 4.61e-07/0.3868, allocations: 0 / 0.5122 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004349/0.3912, allocations: 2.2 MB / 0.5143 GB, free: 8.688 MB / 446.1 MB Notification: Performance of SimCode: time 0.009256/0.4004, allocations: 6.446 MB / 0.5206 GB, free: 2.199 MB / 446.1 MB Notification: Performance of Templates: time 0.2142/0.6146, allocations: 33.97 MB / 0.5538 GB, free: 124.9 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)