Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008313/0.0008313, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009109/0.0009109, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8517/0.8517, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.543e-05, allocations: 7.688 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.006015/0.00604, allocations: 7.31 MB / 331.9 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.009169, allocations: 2.59 MB / 334.5 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000494/0.009663, allocations: 47.69 kB / 334.5 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.01072, allocations: 0.5978 MB / 335.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009142/0.01163, allocations: 0.6985 MB / 335.8 MB, free: 4.641 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.01198, allocations: 291.5 kB / 336.1 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.01326, allocations: 2.122 MB / 338.2 MB, free: 2.223 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000798/0.01406, allocations: 0.7963 MB / 339 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.01508, allocations: 1.318 MB / 340.3 MB, free: 56 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007904/0.01587, allocations: 0.9156 MB / 341.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.01605, allocations: 228 kB / 341.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.01639, allocations: 319.8 kB / 341.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.01676, allocations: 0.6621 MB / 342.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000498/0.01726, allocations: 0.7094 MB / 343.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.01915, allocations: 3.03 MB / 346.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01916, allocations: 0 / 346.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01916, allocations: 0 / 346.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.01918, allocations: 0 / 346.2 MB, free: 10.19 MB / 314.7 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.002249/0.02142, allocations: 2.099 MB / 348.3 MB, free: 8.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.02146, allocations: 8.031 kB / 348.3 MB, free: 8.039 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.02165, allocations: 228 kB / 348.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.02198, allocations: 227.6 kB / 348.7 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.0231, allocations: 1.077 MB / 349.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.02315, allocations: 107.4 kB / 349.9 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.0233, allocations: 164.3 kB / 350.1 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.02517, allocations: 2.055 MB / 352.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.02521, allocations: 15.94 kB / 352.2 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/0.0253, allocations: 56 kB / 352.2 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-05/0.02535, allocations: 74.92 kB / 352.3 MB, free: 3.941 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.02696, allocations: 1.589 MB / 353.9 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005244/0.0322, allocations: 5.68 MB / 359.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.03303, allocations: 0.7296 MB / 360.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/0.03361, allocations: 0.5343 MB / 360.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.03373, allocations: 44.56 kB / 360.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.03375, allocations: 51.09 kB / 360.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=65): time 1.683e-06/0.03375, allocations: 3.938 kB / 360.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.006992/0.04075, allocations: 5.47 MB / 366.4 MB, free: 5.555 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.04078, allocations: 64.34 kB / 366.5 MB, free: 5.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/0.04172, allocations: 1.168 MB / 367.6 MB, free: 4.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.04176, allocations: 41.7 kB / 367.7 MB, free: 4.246 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.04211, allocations: 0.7925 MB / 368.5 MB, free: 3.445 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.04226, allocations: 313.3 kB / 368.8 MB, free: 3.137 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.04245, allocations: 206.9 kB / 369 MB, free: 2.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.04254, allocations: 345.9 kB / 369.3 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000635/0.04317, allocations: 0.5452 MB / 369.8 MB, free: 2.039 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.04381, allocations: 0.8876 MB / 370.7 MB, free: 1.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.04506, allocations: 1.524 MB / 372.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.04506, allocations: 8 kB / 372.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001946/0.04701, allocations: 2.048 MB / 374.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.04703, allocations: 8 kB / 374.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.04704, allocations: 12 kB / 374.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007758/0.04781, allocations: 0.5478 MB / 374.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.04825, allocations: 243.5 kB / 375.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004974/0.05322, allocations: 8.183 MB / 383.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.05361, allocations: 80.03 kB / 383.4 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.05367, allocations: 48 kB / 383.4 MB, free: 3.672 MB / 346.7 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.0005773/0.05425, allocations: 0.5207 MB / 383.9 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.05436, allocations: 127.2 kB / 384.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.05609, allocations: 1.751 MB / 385.8 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.05609, allocations: 8 kB / 385.8 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.0561, allocations: 4 kB / 385.8 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.05611, allocations: 12.06 kB / 385.8 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.05953, allocations: 3.522 MB / 389.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.05953, allocations: 0 / 389.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.0598, allocations: 127.8 kB / 389.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008061/0.0606, allocations: 0.5889 MB / 390.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.06065, allocations: 23.98 kB / 390.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004642/0.06529, allocations: 7.346 MB / 397.4 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.06529, allocations: 15.81 kB / 397.5 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.06758, allocations: 2.465 MB / 399.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.06788, allocations: 243.1 kB / 400.2 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/0.06797, allocations: 23.98 kB / 400.2 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.06828, allocations: 55.94 kB / 400.2 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.06837, allocations: 76.39 kB / 400.3 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.0684, allocations: 28 kB / 400.3 MB, free: 2.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006502/0.06905, allocations: 0.7934 MB / 401.1 MB, free: 1.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06905, allocations: 0 / 401.1 MB, free: 1.422 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007113/0.06976, allocations: 375.9 kB / 401.5 MB, free: 1.055 MB / 362.7 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.002488/0.07225, allocations: 3.091 MB / 404.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.07413, allocations: 1.932 MB / 406.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.07413, allocations: 0 / 406.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.07516, allocations: 1.185 MB / 407.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.07608, allocations: 365.6 kB / 408.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.09002, allocations: 13.62 MB / 421.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.09063, allocations: 0.8749 MB / 422.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004989/0.09113, allocations: 267 kB / 422.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/0.09161, allocations: 0.5628 MB / 423.4 MB, free: 10.43 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.09161, allocations: 0 / 423.4 MB, free: 10.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1639/0.2555, allocations: 38.04 MB / 461.4 MB, free: 113.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/7.972, allocations: 7 kB / 461.4 MB, free: 113.8 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.693272210657597] 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'] 8.078201041556895 8.08394064 8.063503799 Calling exit ...