Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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.001733/0.001733, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002203/0.002203, allocations: 213.5 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.5 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 55.91 kB / 378.5 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2424, allocations: 53.4 MB / 431.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01011/0.2525, allocations: 7.274 MB / 439.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005645/0.2582, allocations: 2.586 MB / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.2592, allocations: 47.69 kB / 441.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.2612, allocations: 0.5902 MB / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.2633, allocations: 0.6757 MB / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007491/0.2641, allocations: 291.6 kB / 443.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002818/0.2669, allocations: 2.046 MB / 445.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.2682, allocations: 0.8354 MB / 446.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.2697, allocations: 0.9189 MB / 447.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.2714, allocations: 1.098 MB / 448.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000414/0.2718, allocations: 228 kB / 448.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007219/0.2726, allocations: 315.8 kB / 448.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007891/0.2733, allocations: 0.6388 MB / 449.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.2746, allocations: 0.8402 MB / 450.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.2785, allocations: 3.024 MB / 453.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2785, allocations: 0 / 453.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2785, allocations: 4 kB / 453.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.58e-05/0.2786, allocations: 0 / 453.3 MB, free: 0.918 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004735/0.2833, allocations: 2.111 MB / 455.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.2834, allocations: 8.031 kB / 455.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.255e-05/0.2835, allocations: 47.17 kB / 455.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003318/0.2838, allocations: 228.1 kB / 455.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006737/0.2845, allocations: 227.6 kB / 455.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.2866, allocations: 1.07 MB / 457 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-05/0.2867, allocations: 114.9 kB / 457.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.2869, allocations: 159.9 kB / 457.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003389/0.2903, allocations: 2.055 MB / 459.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.082e-05/0.2904, allocations: 11.94 kB / 459.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.2905, allocations: 63.98 kB / 459.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.251e-05/0.2906, allocations: 74.92 kB / 459.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.2933, allocations: 1.592 MB / 461.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.3039, allocations: 5.669 MB / 466.7 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3055, allocations: 0.7361 MB / 467.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.3065, allocations: 0.5525 MB / 468 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.3067, allocations: 36.62 kB / 468 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.3067, allocations: 39.22 kB / 468.1 MB, free: 1.746 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.246e-06/0.3067, allocations: 0 / 468.1 MB, free: 1.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01348/0.3202, allocations: 5.482 MB / 473.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3203, allocations: 60.41 kB / 473.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.322, allocations: 1.152 MB / 474.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.3222, allocations: 49.64 kB / 474.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006684/0.3228, allocations: 0.7925 MB / 475.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.3231, allocations: 321.3 kB / 475.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000357/0.3235, allocations: 206.9 kB / 476.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3237, allocations: 349.9 kB / 476.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008505/0.3245, allocations: 0.5452 MB / 477 MB, free: 8.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.3257, allocations: 0.8796 MB / 477.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.3279, allocations: 1.527 MB / 479.4 MB, free: 6.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.3279, allocations: 4 kB / 479.4 MB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00383/0.3317, allocations: 2.036 MB / 481.5 MB, free: 3.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.3318, allocations: 15.94 kB / 481.5 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.3318, allocations: 16.02 kB / 481.5 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.3334, allocations: 0.5514 MB / 482.1 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/0.3343, allocations: 243.6 kB / 482.3 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009272/0.3436, allocations: 8.195 MB / 490.5 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000994/0.3446, allocations: 67.89 kB / 490.6 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.3447, allocations: 51.98 kB / 490.6 MB, free: 10.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 4 systems {(1,1,100.0%), (4,8,87.5%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008996/0.3456, allocations: 0.5209 MB / 491.1 MB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.3459, allocations: 127.2 kB / 491.2 MB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/0.3491, allocations: 1.763 MB / 493 MB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.3492, allocations: 8.094 kB / 493 MB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.3492, allocations: 7.984 kB / 493 MB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.3492, allocations: 3.984 kB / 493 MB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006624/0.3558, allocations: 3.507 MB / 496.5 MB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.3558, allocations: 4 kB / 496.5 MB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.3564, allocations: 119.9 kB / 496.7 MB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.3582, allocations: 0.6005 MB / 497.3 MB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.91e-05/0.3583, allocations: 24.09 kB / 497.3 MB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009236/0.3675, allocations: 7.348 MB / 0.4928 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.3675, allocations: 7.938 kB / 0.4928 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004168/0.3717, allocations: 2.465 MB / 0.4952 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007657/0.3724, allocations: 247 kB / 0.4955 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.3727, allocations: 24.08 kB / 0.4955 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007015/0.3734, allocations: 67.81 kB / 0.4955 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.3736, allocations: 68.52 kB / 0.4956 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.3736, allocations: 20 kB / 0.4956 GB, free: 8.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.375, allocations: 0.7895 MB / 0.4964 GB, free: 8.102 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.375, allocations: 0 / 0.4964 GB, free: 8.102 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001476/0.3765, allocations: 379.9 kB / 0.4968 GB, free: 7.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * 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 {(6,14,69.4%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004653/0.3812, allocations: 3.104 MB / 0.4998 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003534/0.3847, allocations: 1.925 MB / 0.5017 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3847, allocations: 0 / 0.5017 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.3869, allocations: 1.204 MB / 0.5028 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.3887, allocations: 374.9 kB / 0.5032 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/0.4109, allocations: 13.67 MB / 0.5166 GB, free: 2.766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.4121, allocations: 0.8786 MB / 0.5174 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000851/0.4129, allocations: 271 kB / 0.5177 GB, free: 1.578 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008838/0.4138, allocations: 0.5657 MB / 0.5182 GB, free: 1.012 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4138, allocations: 0 / 0.5182 GB, free: 1.012 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2679/0.6817, allocations: 37.87 MB / 0.5552 GB, free: 92.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/19.6, allocations: 17.47 kB / 0.5552 GB, free: 92.94 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.219902788987383] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.idq_rr[1]', 'imc.idq_rr[2]', 'loadInertia.phi', 'loadInertia.w', 'imc.idq_sr[1]', 'imc.idq_sr[2]', 'imc.is[1]', 'imc.is[2]', 'tauElectrical', 'tauShaft', 'wMechanical'] 19.792096399934962 19.801900741 19.521056067 Calling exit ...