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.001476/0.001476, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001842/0.001842, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3771, allocations: 50.55 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.04016/0.4173, allocations: 34.63 MB / 443.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02644/0.4438, allocations: 9.992 MB / 453.4 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009417/0.4533, allocations: 251.2 kB / 453.7 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02017/0.4735, allocations: 8.172 MB / 461.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01597/0.4895, allocations: 3.795 MB / 465.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008358/0.4979, allocations: 2.29 MB / 467.9 MB, free: 6.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02196/0.5199, allocations: 13.33 MB / 481.3 MB, free: 8.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03573/0.5557, allocations: 22.64 MB / 0.4921 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01242/0.5681, allocations: 6.67 MB / 0.4986 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01318/0.5813, allocations: 7.499 MB / 0.5059 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006197/0.5876, allocations: 1.898 MB / 0.5078 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009542/0.5971, allocations: 2.332 MB / 0.51 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006808/0.604, allocations: 3.788 MB / 0.5137 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0157/0.6197, allocations: 7.202 MB / 0.5208 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6024/1.222, allocations: 25.3 MB / 0.5455 GB, free: 53.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.222, allocations: 0 / 0.5455 GB, free: 53.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/1.222, allocations: 1.281 kB / 0.5455 GB, free: 53.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008374/1.223, allocations: 0 / 0.5455 GB, free: 53.68 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.04429/1.267, allocations: 14.86 MB / 0.56 GB, free: 49.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.267, allocations: 9.281 kB / 0.56 GB, free: 49.89 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006176/1.274, allocations: 1.544 MB / 0.5615 GB, free: 49.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03764/1.311, allocations: 6.791 MB / 0.5681 GB, free: 48.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/1.329, allocations: 8.171 MB / 0.5761 GB, free: 46.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006507/1.33, allocations: 0.803 MB / 0.5769 GB, free: 46.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004739/1.335, allocations: 1.072 MB / 0.578 GB, free: 45.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03913/1.374, allocations: 17.41 MB / 0.595 GB, free: 30.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002958/1.374, allocations: 19.8 kB / 0.595 GB, free: 30.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002494/1.377, allocations: 454 kB / 0.5954 GB, free: 30.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004326/1.377, allocations: 0.6436 MB / 0.596 GB, free: 29.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03154/1.409, allocations: 16.37 MB / 0.612 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/1.509, allocations: 55.28 MB / 0.666 GB, free: 5.922 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03315/1.543, allocations: 33.71 MB / 0.6989 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008682/1.551, allocations: 4.434 MB / 0.7033 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0294/1.581, allocations: 12.4 MB / 0.7154 GB, free: 128 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006122/1.587, allocations: 3.104 MB / 0.7184 GB, free: 12.97 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=434): time 1.013e-05/1.587, allocations: 0 / 0.7184 GB, free: 12.97 MB / 0.5607 GB Notification: Performance of matching and sorting (n=452): time 0.05745/1.644, allocations: 23.48 MB / 0.7413 GB, free: 5.402 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002059/1.645, allocations: 407.4 kB / 0.7417 GB, free: 4.918 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009221/1.654, allocations: 4.603 MB / 0.7462 GB, free: 312 kB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008208/1.655, allocations: 101.7 kB / 0.7463 GB, free: 204 kB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004612/1.659, allocations: 4.775 MB / 0.751 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002263/1.662, allocations: 1.543 MB / 0.7525 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003304/1.665, allocations: 1.133 MB / 0.7536 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.665, allocations: 301.1 kB / 0.7539 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004914/1.67, allocations: 2.83 MB / 0.7567 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2611/1.931, allocations: 5.012 MB / 0.7615 GB, free: 231 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01586/1.947, allocations: 8.303 MB / 0.7697 GB, free: 227.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/1.947, allocations: 22.89 kB / 0.7697 GB, free: 227.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01834/1.966, allocations: 9.583 MB / 0.779 GB, free: 223.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/1.966, allocations: 34.5 kB / 0.7791 GB, free: 223.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.966, allocations: 66 kB / 0.7791 GB, free: 223.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003708/1.969, allocations: 1.48 MB / 0.7806 GB, free: 223.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005167/1.975, allocations: 1.334 MB / 0.7819 GB, free: 223.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/1.992, allocations: 17.6 MB / 0.7991 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/1.997, allocations: 351.4 kB / 0.7994 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/1.998, allocations: 281.3 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.006472/2.004, allocations: 3.915 MB / 0.8035 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/2.006, allocations: 0.4966 MB / 0.804 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/2.019, allocations: 7.955 MB / 0.8117 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/2.02, allocations: 47.94 kB / 0.8118 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-05/2.02, allocations: 16 kB / 0.8118 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-05/2.02, allocations: 24.47 kB / 0.8118 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02821/2.048, allocations: 17.4 MB / 0.8288 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/2.048, allocations: 4 kB / 0.8288 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00289/2.051, allocations: 0.7581 MB / 0.8296 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003913/2.055, allocations: 1.564 MB / 0.8311 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003735/2.055, allocations: 112 kB / 0.8312 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/2.073, allocations: 21.27 MB / 0.852 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/2.074, allocations: 7.938 kB / 0.852 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/2.088, allocations: 11.48 MB / 0.8632 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/2.091, allocations: 1.146 MB / 0.8643 GB, free: 151.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006541/2.091, allocations: 99.98 kB / 0.8644 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/2.094, allocations: 231.8 kB / 0.8646 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006615/2.094, allocations: 345.3 kB / 0.865 GB, free: 150.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/2.094, allocations: 132 kB / 0.8651 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003303/2.098, allocations: 3.14 MB / 0.8681 GB, free: 147.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/2.098, allocations: 0 / 0.8681 GB, free: 147.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004967/2.103, allocations: 1.885 MB / 0.87 GB, free: 145.7 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.01427/2.117, allocations: 12.52 MB / 0.8822 GB, free: 133.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01117/2.128, allocations: 8.082 MB / 0.8901 GB, free: 125 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/2.128, allocations: 3.938 kB / 0.8901 GB, free: 125 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006271/2.135, allocations: 4.664 MB / 0.8947 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006099/2.141, allocations: 1.357 MB / 0.896 GB, free: 119 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0958/2.236, allocations: 63.29 MB / 0.9578 GB, free: 53.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007591/2.244, allocations: 6.835 MB / 0.9645 GB, free: 46.39 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00512/2.249, allocations: 1.854 MB / 0.9663 GB, free: 44.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005611/2.255, allocations: 4.069 MB / 0.9702 GB, free: 40.46 MB / 0.5919 GB Notification: Performance of SimCode: time 1.954e-06/2.255, allocations: 4 kB / 0.9703 GB, free: 40.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8412/3.096, allocations: 154.5 MB / 1.121 GB, free: 134.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.86/24.96, allocations: 25.34 kB / 1.121 GB, free: 134.7 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)