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.001322/0.001322, allocations: 112.5 kB / 20.43 MB, free: 1.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.001695/0.001695, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.432/1.432, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.002091/0.002091, allocations: 71.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2629, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01093/0.2738, allocations: 8.284 MB / 439.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005594/0.2794, allocations: 2.765 MB / 442.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.2807, allocations: 55.62 kB / 442.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.283, allocations: 0.637 MB / 442.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.2851, allocations: 0.6679 MB / 443.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.2861, allocations: 299.5 kB / 443.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003374/0.2895, allocations: 2.045 MB / 445.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.2912, allocations: 0.8354 MB / 446.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.293, allocations: 0.9111 MB / 447.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002229/0.2952, allocations: 1.101 MB / 448.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006087/0.2958, allocations: 224 kB / 449 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.2969, allocations: 323.8 kB / 449.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.2979, allocations: 0.6427 MB / 450 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.2998, allocations: 1.035 MB / 451 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.3042, allocations: 3.01 MB / 454 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.3042, allocations: 7.984 kB / 454 MB, free: 15.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3042, allocations: 3.938 kB / 454 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.3043, allocations: 0 / 454 MB, free: 15.73 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005909/0.3102, allocations: 2.095 MB / 456.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3103, allocations: 12.03 kB / 456.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006001/0.3109, allocations: 232 kB / 456.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008591/0.3118, allocations: 223.7 kB / 456.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.3144, allocations: 1.074 MB / 457.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.3146, allocations: 119.1 kB / 457.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003893/0.315, allocations: 152 kB / 457.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/0.3192, allocations: 1.959 MB / 459.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.287e-05/0.3192, allocations: 11.94 kB / 459.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/0.3194, allocations: 64 kB / 459.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.3196, allocations: 78.91 kB / 460 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003187/0.3227, allocations: 1.585 MB / 461.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.3347, allocations: 6.168 MB / 467.8 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.3362, allocations: 0.7279 MB / 468.5 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.3372, allocations: 0.5448 MB / 469 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.3374, allocations: 48.61 kB / 469.1 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.3375, allocations: 43.16 kB / 469.1 MB, free: 252 kB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.815e-06/0.3375, allocations: 0 / 469.1 MB, free: 252 kB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01384/0.3513, allocations: 5.478 MB / 474.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.3514, allocations: 68.28 kB / 474.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.3534, allocations: 1.153 MB / 475.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.3535, allocations: 41.7 kB / 475.9 MB, free: 9.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006877/0.3542, allocations: 0.7925 MB / 476.7 MB, free: 8.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.3545, allocations: 321.3 kB / 477 MB, free: 8.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.3549, allocations: 202.9 kB / 477.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.3551, allocations: 357.9 kB / 477.5 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008865/0.356, allocations: 0.5452 MB / 478.1 MB, free: 7.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.3571, allocations: 0.8757 MB / 478.9 MB, free: 6.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.3593, allocations: 1.527 MB / 480.5 MB, free: 4.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.3593, allocations: 4 kB / 480.5 MB, free: 4.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003781/0.3631, allocations: 2.04 MB / 482.5 MB, free: 2.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.3631, allocations: 22.16 kB / 482.5 MB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.3631, allocations: 8 kB / 482.5 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.3647, allocations: 0.5514 MB / 483.1 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009138/0.3656, allocations: 243.6 kB / 483.3 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009719/0.3754, allocations: 8.242 MB / 491.6 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.3764, allocations: 75.88 kB / 491.7 MB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.3766, allocations: 48 kB / 491.7 MB, free: 8.789 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.001096/0.3777, allocations: 0.5209 MB / 492.2 MB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/0.3781, allocations: 127.2 kB / 492.3 MB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.3815, allocations: 1.763 MB / 494.1 MB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.3815, allocations: 8 kB / 494.1 MB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.3815, allocations: 4 kB / 494.1 MB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3815, allocations: 3.984 kB / 494.1 MB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/0.3892, allocations: 3.698 MB / 497.8 MB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.3892, allocations: 8 kB / 497.8 MB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005664/0.3898, allocations: 127.8 kB / 498 MB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.3915, allocations: 0.5967 MB / 498.6 MB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.3916, allocations: 23.98 kB / 498.6 MB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009512/0.4011, allocations: 7.395 MB / 0.4941 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4011, allocations: 4 kB / 0.4941 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/0.4056, allocations: 2.473 MB / 0.4965 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008446/0.4065, allocations: 251.3 kB / 0.4968 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/0.4068, allocations: 23.94 kB / 0.4968 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007716/0.4075, allocations: 59.94 kB / 0.4968 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.4077, allocations: 68.45 kB / 0.4969 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/0.4078, allocations: 31.98 kB / 0.4969 GB, free: 7.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001574/0.4094, allocations: 0.7896 MB / 0.4977 GB, free: 6.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4094, allocations: 3.938 kB / 0.4977 GB, free: 6.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001676/0.411, allocations: 379.9 kB / 0.4981 GB, free: 5.926 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.004858/0.4159, allocations: 3.096 MB / 0.5011 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003795/0.4197, allocations: 1.918 MB / 0.503 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/0.4197, allocations: 4 kB / 0.503 GB, free: 0.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.422, allocations: 1.196 MB / 0.5042 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.4243, allocations: 379.5 kB / 0.5045 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02582/0.4501, allocations: 13.68 MB / 0.5179 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/0.4519, allocations: 1.464 MB / 0.5193 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009066/0.4529, allocations: 263 kB / 0.5196 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00089/0.4537, allocations: 0.5657 MB / 0.5201 GB, free: 14.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4537, allocations: 3.938 kB / 0.5201 GB, free: 14.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2972/0.751, allocations: 36.3 MB / 0.5556 GB, free: 90.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.12/19.87, allocations: 5.109 kB / 0.5556 GB, free: 90.67 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.37355271098204] 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.999602641910315 20.019966107 19.711645839 Calling exit ...