Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002014, allocations: 63.91 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.28, allocations: 50.55 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03553/0.3156, allocations: 34.63 MB / 443.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02147/0.3371, allocations: 9.984 MB / 453.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007615/0.3448, allocations: 255.1 kB / 453.7 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01986/0.3647, allocations: 8.172 MB / 461.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01439/0.3791, allocations: 3.795 MB / 465.6 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008361/0.3875, allocations: 2.297 MB / 467.9 MB, free: 6.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02615/0.4136, allocations: 13.33 MB / 481.3 MB, free: 8.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05954/0.4732, allocations: 22.63 MB / 0.4921 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01599/0.4893, allocations: 6.674 MB / 0.4986 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01612/0.5055, allocations: 7.499 MB / 0.5059 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006342/0.5119, allocations: 1.898 MB / 0.5078 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007776/0.5197, allocations: 2.32 MB / 0.51 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008624/0.5283, allocations: 3.791 MB / 0.5137 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01567/0.5441, allocations: 7.206 MB / 0.5208 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5395/1.084, allocations: 25.29 MB / 0.5455 GB, free: 53.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1.084, allocations: 0.6562 kB / 0.5455 GB, free: 53.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.507e-06/1.084, allocations: 2.484 kB / 0.5455 GB, free: 53.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007704/1.084, allocations: 0.8125 kB / 0.5455 GB, free: 53.73 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.05256/1.137, allocations: 14.86 MB / 0.56 GB, free: 49.94 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.137, allocations: 9.906 kB / 0.56 GB, free: 49.94 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007952/1.145, allocations: 1.547 MB / 0.5615 GB, free: 49.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03862/1.184, allocations: 6.791 MB / 0.5681 GB, free: 48.83 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01982/1.204, allocations: 8.171 MB / 0.5761 GB, free: 46.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00091/1.204, allocations: 0.8095 MB / 0.5769 GB, free: 46.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005973/1.21, allocations: 1.066 MB / 0.578 GB, free: 45.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05265/1.263, allocations: 17.42 MB / 0.595 GB, free: 30.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005481/1.264, allocations: 11.81 kB / 0.595 GB, free: 30.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006632/1.27, allocations: 454.2 kB / 0.5954 GB, free: 30.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008091/1.271, allocations: 0.6475 MB / 0.596 GB, free: 29.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04321/1.315, allocations: 16.38 MB / 0.612 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1353/1.45, allocations: 55.28 MB / 0.666 GB, free: 5.766 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03596/1.486, allocations: 33.71 MB / 0.6989 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009772/1.496, allocations: 4.436 MB / 0.7033 GB, free: 12.29 MB / 0.5451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03162/1.527, allocations: 12.41 MB / 0.7154 GB, free: 15.96 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00672/1.534, allocations: 3.09 MB / 0.7184 GB, free: 12.81 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=434): time 9.728e-06/1.534, allocations: 0 / 0.7184 GB, free: 12.81 MB / 0.5607 GB Notification: Performance of matching and sorting (n=452): time 0.06394/1.598, allocations: 23.48 MB / 0.7413 GB, free: 5.246 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003166/1.599, allocations: 411.4 kB / 0.7417 GB, free: 4.758 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/1.612, allocations: 4.607 MB / 0.7462 GB, free: 144 kB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001506/1.614, allocations: 105.7 kB / 0.7463 GB, free: 32 kB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.007496/1.621, allocations: 4.756 MB / 0.751 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003027/1.624, allocations: 1.544 MB / 0.7525 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002938/1.627, allocations: 1.133 MB / 0.7536 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.627, allocations: 305.1 kB / 0.7539 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004754/1.632, allocations: 2.83 MB / 0.7566 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3667/1.999, allocations: 5.012 MB / 0.7615 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/2.011, allocations: 8.306 MB / 0.7696 GB, free: 227.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.255e-05/2.012, allocations: 19.94 kB / 0.7697 GB, free: 227.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.0195/2.031, allocations: 9.579 MB / 0.779 GB, free: 223.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.44e-05/2.031, allocations: 32.31 kB / 0.7791 GB, free: 223.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/2.031, allocations: 66.03 kB / 0.7791 GB, free: 223.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004044/2.035, allocations: 1.485 MB / 0.7806 GB, free: 223.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005999/2.041, allocations: 1.331 MB / 0.7819 GB, free: 223.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/2.06, allocations: 17.6 MB / 0.7991 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005776/2.066, allocations: 357.5 kB / 0.7994 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/2.067, allocations: 287.1 kB / 0.7997 GB, free: 211.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (688): * Single equations (assignments): 682 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007854/2.075, allocations: 3.912 MB / 0.8035 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/2.077, allocations: 0.4998 MB / 0.804 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/2.09, allocations: 7.95 MB / 0.8117 GB, free: 203.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.427e-05/2.09, allocations: 51.94 kB / 0.8118 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.479e-05/2.09, allocations: 20 kB / 0.8118 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.958e-05/2.09, allocations: 22.59 kB / 0.8118 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03322/2.123, allocations: 17.39 MB / 0.8288 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/2.123, allocations: 4 kB / 0.8288 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003408/2.127, allocations: 0.7645 MB / 0.8296 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004063/2.131, allocations: 1.562 MB / 0.8311 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001031/2.132, allocations: 112 kB / 0.8312 GB, free: 186 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02128/2.153, allocations: 21.28 MB / 0.852 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/2.153, allocations: 4 kB / 0.852 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/2.171, allocations: 11.47 MB / 0.8632 GB, free: 152.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003705/2.175, allocations: 1.145 MB / 0.8643 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001659/2.176, allocations: 104 kB / 0.8644 GB, free: 151.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003635/2.18, allocations: 229.2 kB / 0.8646 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/2.181, allocations: 339.6 kB / 0.8649 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/2.181, allocations: 135.9 kB / 0.8651 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005401/2.187, allocations: 3.136 MB / 0.8681 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.01e-07/2.187, allocations: 4 kB / 0.8681 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01026/2.197, allocations: 1.889 MB / 0.87 GB, free: 145.6 MB / 0.5919 GB 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (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.01742/2.215, allocations: 12.51 MB / 0.8822 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01161/2.226, allocations: 8.088 MB / 0.8901 GB, free: 124.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/2.226, allocations: 0 / 0.8901 GB, free: 124.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007001/2.233, allocations: 4.664 MB / 0.8947 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006364/2.24, allocations: 1.363 MB / 0.896 GB, free: 118.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0929/2.333, allocations: 63.29 MB / 0.9578 GB, free: 53.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006817/2.339, allocations: 6.843 MB / 0.9645 GB, free: 46.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005102/2.345, allocations: 1.858 MB / 0.9663 GB, free: 44.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004945/2.35, allocations: 4.069 MB / 0.9703 GB, free: 40.34 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/2.35, allocations: 0 / 0.9703 GB, free: 40.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4341/2.784, allocations: 154.5 MB / 1.121 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.3/26.08, allocations: 27.14 kB / 1.121 GB, free: 134.6 MB / 0.5919 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)