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.001441/0.001441, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001686/0.001686, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.455/1.455, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001951/0.001951, allocations: 67.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.09575, allocations: 53.38 MB / 427.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.1952/0.2909, allocations: 8.244 MB / 435.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004131/0.295, allocations: 2.76 MB / 438.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008985/0.2959, allocations: 49.22 kB / 438.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.2977, allocations: 0.6342 MB / 438.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.2993, allocations: 0.6716 MB / 439.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.2999, allocations: 286.5 kB / 439.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00216/0.3021, allocations: 2.045 MB / 441.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.3034, allocations: 1.028 MB / 442.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.3053, allocations: 0.9147 MB / 443.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.3073, allocations: 1.099 MB / 444.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004698/0.3078, allocations: 227 kB / 445 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008009/0.3086, allocations: 319.9 kB / 445.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006125/0.3092, allocations: 0.6361 MB / 446 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.3105, allocations: 1.034 MB / 447 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.3145, allocations: 3.011 MB / 450 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3145, allocations: 0 / 450 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3145, allocations: 1.312 kB / 450 MB, free: 384 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-05/0.3146, allocations: 0 / 450 MB, free: 384 kB / 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.005314/0.3199, allocations: 2.176 MB / 452.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3199, allocations: 9.062 kB / 452.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.881e-05/0.32, allocations: 44.41 kB / 452.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000335/0.3203, allocations: 234.9 kB / 452.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000743/0.3211, allocations: 227.7 kB / 452.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.3232, allocations: 1.142 MB / 453.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.3233, allocations: 116.1 kB / 454 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.3235, allocations: 157.7 kB / 454.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/0.3269, allocations: 1.961 MB / 456.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/0.327, allocations: 5.766 kB / 456.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.3271, allocations: 66.06 kB / 456.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.995e-05/0.3272, allocations: 78.12 kB / 456.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.33, allocations: 1.585 MB / 457.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.3401, allocations: 6.282 MB / 464.1 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.3415, allocations: 0.8054 MB / 464.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009935/0.3425, allocations: 0.5411 MB / 465.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.3427, allocations: 120.5 kB / 465.5 MB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.3427, allocations: 42.12 kB / 465.6 MB, free: 6.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.076e-06/0.3427, allocations: 1.031 kB / 465.6 MB, free: 6.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01385/0.3566, allocations: 5.846 MB / 471.4 MB, free: 3.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.3566, allocations: 64.66 kB / 471.5 MB, free: 3.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.3584, allocations: 1.148 MB / 472.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.523e-05/0.3585, allocations: 41.83 kB / 472.7 MB, free: 2.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.3591, allocations: 0.8023 MB / 473.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.3594, allocations: 317.2 kB / 473.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/0.3597, allocations: 210.9 kB / 474 MB, free: 1.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3599, allocations: 345.9 kB / 474.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000823/0.3607, allocations: 0.5413 MB / 474.9 MB, free: 240 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.3619, allocations: 0.8875 MB / 475.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.364, allocations: 1.524 MB / 477.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.364, allocations: 4 kB / 477.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003744/0.3678, allocations: 2.04 MB / 479.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.3678, allocations: 16 kB / 479.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.3678, allocations: 12 kB / 479.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.3694, allocations: 0.552 MB / 479.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/0.3702, allocations: 235.6 kB / 480.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009458/0.3797, allocations: 8.665 MB / 488.8 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.3809, allocations: 71.88 kB / 488.9 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.381, allocations: 48 kB / 488.9 MB, free: 1.289 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.0009492/0.382, allocations: 0.517 MB / 489.4 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.3823, allocations: 127.2 kB / 489.6 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00324/0.3855, allocations: 1.763 MB / 491.3 MB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.3855, allocations: 11.94 kB / 491.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3855, allocations: 4 kB / 491.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3855, allocations: 3.984 kB / 491.4 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007345/0.3929, allocations: 3.729 MB / 495.1 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.3929, allocations: 4 kB / 495.1 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.3935, allocations: 124 kB / 495.2 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001757/0.3952, allocations: 0.6028 MB / 495.8 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.3953, allocations: 26.92 kB / 495.8 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008906/0.4042, allocations: 7.694 MB / 0.4917 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.4042, allocations: 8 kB / 0.4917 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004234/0.4085, allocations: 2.477 MB / 0.4942 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008087/0.4093, allocations: 324.2 kB / 0.4945 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/0.4096, allocations: 23.94 kB / 0.4945 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008528/0.4105, allocations: 55.94 kB / 0.4945 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.4107, allocations: 64.59 kB / 0.4946 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.4108, allocations: 32.8 kB / 0.4946 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.4122, allocations: 0.7895 MB / 0.4954 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4122, allocations: 0 / 0.4954 GB, free: 14.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001783/0.414, allocations: 383.9 kB / 0.4958 GB, free: 13.94 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.004889/0.4189, allocations: 3.102 MB / 0.4988 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003882/0.4228, allocations: 2.076 MB / 0.5008 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.4228, allocations: 4 kB / 0.5008 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.4251, allocations: 1.271 MB / 0.5021 GB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.4277, allocations: 376.4 kB / 0.5024 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/0.4512, allocations: 13.66 MB / 0.5158 GB, free: 8.727 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/0.4527, allocations: 1.467 MB / 0.5172 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008892/0.4536, allocations: 263 kB / 0.5175 GB, free: 6.969 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008973/0.4545, allocations: 0.5657 MB / 0.518 GB, free: 6.402 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4545, allocations: 0 / 0.518 GB, free: 6.402 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0889/0.5434, allocations: 35.43 MB / 0.5526 GB, free: 3.332 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.57/18.12, allocations: 3.984 kB / 0.5526 GB, free: 3.328 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.757052439032122] 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.28014537098352 18.302946015 17.983821715 Calling exit ...