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.001861/0.001861, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002352/0.002352, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.549/1.549, allocations: 230.2 MB / 254.5 MB, free: 15.25 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 55.91 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1217, allocations: 53.33 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.2563/0.378, allocations: 8.247 MB / 434.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005469/0.3835, allocations: 2.756 MB / 437.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.3846, allocations: 41.59 kB / 437.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.3865, allocations: 0.641 MB / 438.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.3886, allocations: 0.6732 MB / 439 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.3894, allocations: 283.5 kB / 439.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002921/0.3923, allocations: 2.041 MB / 441.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.3938, allocations: 1.025 MB / 442.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.3954, allocations: 0.8975 MB / 443.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.397, allocations: 1.096 MB / 444.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003618/0.3974, allocations: 227.3 kB / 444.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007271/0.3981, allocations: 318.4 kB / 444.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006432/0.3988, allocations: 0.6445 MB / 445.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009973/0.3998, allocations: 1.03 MB / 446.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003633/0.4034, allocations: 3.006 MB / 449.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4034, allocations: 0 / 449.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4034, allocations: 0 / 449.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.616e-05/0.4035, allocations: 7.938 kB / 449.6 MB, free: 1.043 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.004433/0.4079, allocations: 2.181 MB / 451.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.408, allocations: 10.16 kB / 451.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003179/0.4083, allocations: 227.5 kB / 452 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/0.4089, allocations: 225 kB / 452.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.4112, allocations: 1.15 MB / 453.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.4113, allocations: 113.3 kB / 453.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.4116, allocations: 152 kB / 453.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003336/0.4149, allocations: 1.962 MB / 455.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.438e-05/0.415, allocations: 10.56 kB / 455.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.4152, allocations: 65.23 kB / 455.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.255e-05/0.4153, allocations: 74.14 kB / 455.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.4179, allocations: 1.584 MB / 457.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.4286, allocations: 6.288 MB / 463.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.43, allocations: 0.8071 MB / 464.4 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009765/0.431, allocations: 0.5375 MB / 465 MB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.4312, allocations: 118.3 kB / 465.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.4313, allocations: 41.5 kB / 465.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.905e-06/0.4313, allocations: 5.125 kB / 465.1 MB, free: 7.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01337/0.4446, allocations: 5.847 MB / 471 MB, free: 3.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4447, allocations: 60.66 kB / 471 MB, free: 3.816 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.4465, allocations: 1.152 MB / 472.2 MB, free: 3.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.937e-05/0.4466, allocations: 44.39 kB / 472.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006316/0.4473, allocations: 0.7967 MB / 473 MB, free: 2.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.4475, allocations: 319.8 kB / 473.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/0.4479, allocations: 210.9 kB / 473.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.448, allocations: 349.9 kB / 473.9 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007986/0.4488, allocations: 0.5452 MB / 474.4 MB, free: 1.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.4499, allocations: 0.8757 MB / 475.3 MB, free: 0 / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.4519, allocations: 1.527 MB / 476.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.4519, allocations: 4 kB / 476.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003461/0.4554, allocations: 2.044 MB / 478.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.4554, allocations: 12 kB / 478.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.4554, allocations: 8 kB / 478.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.4568, allocations: 0.545 MB / 479.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/0.4576, allocations: 247.6 kB / 479.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009476/0.4671, allocations: 8.66 MB / 488.3 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.4686, allocations: 72.08 kB / 488.4 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.4687, allocations: 48 kB / 488.5 MB, free: 2.105 MB / 382.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.001248/0.47, allocations: 0.5207 MB / 489 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.4703, allocations: 131.2 kB / 489.1 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/0.4735, allocations: 1.755 MB / 490.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4735, allocations: 8 kB / 490.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.4735, allocations: 4 kB / 490.9 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.4735, allocations: 4.078 kB / 490.9 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007126/0.4806, allocations: 3.741 MB / 494.6 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4806, allocations: 4 kB / 494.6 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.4812, allocations: 127.8 kB / 494.7 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.4827, allocations: 0.5928 MB / 495.3 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.4828, allocations: 23.98 kB / 495.4 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009198/0.492, allocations: 7.707 MB / 0.4913 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.492, allocations: 7.938 kB / 0.4913 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.4961, allocations: 2.481 MB / 0.4937 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008651/0.497, allocations: 316.3 kB / 0.494 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.4972, allocations: 23.98 kB / 0.494 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/0.4978, allocations: 59.94 kB / 0.4941 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.498, allocations: 68.44 kB / 0.4942 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.027e-05/0.4981, allocations: 28 kB / 0.4942 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001236/0.4993, allocations: 0.7895 MB / 0.495 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4993, allocations: 0 / 0.495 GB, free: 15.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001504/0.5008, allocations: 379.9 kB / 0.4953 GB, free: 14.75 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.004465/0.5053, allocations: 3.101 MB / 0.4983 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00351/0.5088, allocations: 2.08 MB / 0.5004 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5088, allocations: 0 / 0.5004 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.5109, allocations: 1.264 MB / 0.5016 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.5128, allocations: 377.1 kB / 0.502 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/0.5338, allocations: 13.67 MB / 0.5153 GB, free: 9.531 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.5352, allocations: 1.464 MB / 0.5167 GB, free: 8.039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008259/0.536, allocations: 259.1 kB / 0.517 GB, free: 7.781 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007691/0.5368, allocations: 0.5657 MB / 0.5175 GB, free: 7.215 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5368, allocations: 4 kB / 0.5176 GB, free: 7.211 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/0.6595, allocations: 35.4 MB / 0.5521 GB, free: 4.156 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.44/18.1, allocations: 7.375 kB / 0.5521 GB, free: 4.152 MB / 462.1 MB " [Timeout remaining time 642] (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: 20.805302357766777] 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'] 18.200061989948153 18.214044281 17.807640038 Calling exit ...