Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001465, allocations: 105.7 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 214.7 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.28/1.28, allocations: 230.5 MB / 256.4 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.89 kB / 376.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2196, allocations: 53.31 MB / 429.4 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01074/0.2303, allocations: 9.618 MB / 439 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006113/0.2364, allocations: 3.662 MB / 442.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.2374, allocations: 47.81 kB / 442.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.2391, allocations: 0.7688 MB / 443.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.2412, allocations: 0.8817 MB / 444.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009583/0.2421, allocations: 459 kB / 444.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.2447, allocations: 2.424 MB / 447.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.246, allocations: 1.048 MB / 448.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.2474, allocations: 1.11 MB / 449.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.2492, allocations: 1.44 MB / 450.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003687/0.2495, allocations: 280 kB / 451.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007771/0.2503, allocations: 423.8 kB / 451.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007671/0.2511, allocations: 0.818 MB / 452.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.2524, allocations: 1.287 MB / 453.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.256, allocations: 3.76 MB / 457.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.256, allocations: 4 kB / 457.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.256, allocations: 0 / 457.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.483e-05/0.2561, allocations: 0 / 457.4 MB, free: 11.43 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.00498/0.261, allocations: 2.742 MB / 460.2 MB, free: 8.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2611, allocations: 12.03 kB / 460.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003286/0.2614, allocations: 274.6 kB / 460.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007508/0.2622, allocations: 299.2 kB / 460.7 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.2643, allocations: 1.401 MB / 462.1 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.2644, allocations: 139.7 kB / 462.3 MB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.2646, allocations: 188 kB / 462.5 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.2682, allocations: 2.44 MB / 464.9 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-05/0.2683, allocations: 11.88 kB / 464.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.2684, allocations: 76 kB / 465 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.847e-05/0.2685, allocations: 95.69 kB / 465.1 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.2716, allocations: 1.986 MB / 467.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.2818, allocations: 7.334 MB / 474.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.2836, allocations: 1.29 MB / 475.7 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.285, allocations: 0.8168 MB / 476.5 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.2852, allocations: 130 kB / 476.6 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/0.2863, allocations: 0.6828 MB / 477.3 MB, free: 7.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.275e-06/0.2863, allocations: 0 / 477.3 MB, free: 7.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01526/0.3015, allocations: 7.359 MB / 484.7 MB, free: 15.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.3016, allocations: 167.2 kB / 484.8 MB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.3036, allocations: 1.431 MB / 486.3 MB, free: 13.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.592e-05/0.3036, allocations: 49.7 kB / 486.3 MB, free: 13.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008045/0.3045, allocations: 0.9623 MB / 487.3 MB, free: 12.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.3048, allocations: 440.3 kB / 487.7 MB, free: 12.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/0.3052, allocations: 251.5 kB / 487.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3053, allocations: 357.9 kB / 488.3 MB, free: 11.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009765/0.3063, allocations: 0.6364 MB / 488.9 MB, free: 11.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.3075, allocations: 1.001 MB / 489.9 MB, free: 10.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.3098, allocations: 1.703 MB / 491.6 MB, free: 8.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3098, allocations: 8 kB / 491.6 MB, free: 8.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003792/0.3136, allocations: 2.348 MB / 494 MB, free: 5.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.3137, allocations: 8 kB / 494 MB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.3137, allocations: 11.94 kB / 494 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.3148, allocations: 0.4884 MB / 494.5 MB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.3159, allocations: 295.5 kB / 494.8 MB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006927/0.3228, allocations: 7.19 MB / 0.4902 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.3239, allocations: 99.92 kB / 0.4903 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.324, allocations: 56 kB / 0.4904 GB, free: 13.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001021/0.3251, allocations: 0.6307 MB / 0.491 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.3253, allocations: 159 kB / 0.4911 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.3289, allocations: 2.151 MB / 0.4932 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3289, allocations: 12 kB / 0.4932 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.329, allocations: 4 kB / 0.4932 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.329, allocations: 7.969 kB / 0.4933 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006829/0.3358, allocations: 4.446 MB / 0.4976 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.3358, allocations: 4.375 kB / 0.4976 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/0.3366, allocations: 199.7 kB / 0.4978 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.3379, allocations: 0.5271 MB / 0.4983 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.338, allocations: 31.98 kB / 0.4983 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00814/0.3461, allocations: 8.737 MB / 0.5069 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3461, allocations: 4 kB / 0.5069 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00472/0.3509, allocations: 3.092 MB / 0.5099 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000672/0.3515, allocations: 375.9 kB / 0.5102 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.3517, allocations: 35.98 kB / 0.5103 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/0.3525, allocations: 67.94 kB / 0.5103 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.3527, allocations: 96.8 kB / 0.5104 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/0.3528, allocations: 36 kB / 0.5105 GB, free: 7.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001341/0.3541, allocations: 0.9874 MB / 0.5114 GB, free: 6.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3541, allocations: 3.938 kB / 0.5114 GB, free: 6.766 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001433/0.3555, allocations: 451.9 kB / 0.5119 GB, free: 6.324 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006296/0.3618, allocations: 4.023 MB / 0.5158 GB, free: 2.363 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003559/0.3654, allocations: 2.187 MB / 0.5179 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.3654, allocations: 1.875 kB / 0.5179 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.3676, allocations: 1.463 MB / 0.5194 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.3695, allocations: 435.8 kB / 0.5198 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/0.3928, allocations: 16.22 MB / 0.5356 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.3941, allocations: 1.71 MB / 0.5373 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008752/0.395, allocations: 325 kB / 0.5376 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009311/0.3959, allocations: 0.7492 MB / 0.5383 GB, free: 10.54 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3959, allocations: 3.938 kB / 0.5383 GB, free: 10.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2452/0.6411, allocations: 42.02 MB / 0.5794 GB, free: 98.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.23, allocations: 8 kB / 0.5794 GB, free: 98.53 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.28939712599822]