Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 119.4 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 192.3 kB / 21.35 MB, free: 1.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 247 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.92 kB / 358.7 MB, free: 8.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09514/0.09669, allocations: 49.44 MB / 408.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01023/0.107, allocations: 8.179 MB / 416.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.1122, allocations: 2.703 MB / 419 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007558/0.1129, allocations: 35.88 kB / 419 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.1147, allocations: 0.6096 MB / 419.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.1162, allocations: 0.6289 MB / 420.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.1168, allocations: 283.6 kB / 420.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002432/0.1193, allocations: 2.031 MB / 422.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.121, allocations: 1.424 MB / 424 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.1223, allocations: 0.8798 MB / 424.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.1238, allocations: 1.062 MB / 425.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.1241, allocations: 228 kB / 426.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006253/0.1247, allocations: 319.8 kB / 426.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006855/0.1254, allocations: 0.635 MB / 427.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.1266, allocations: 1.027 MB / 428.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.195/0.3216, allocations: 3.004 MB / 431.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3217, allocations: 0 / 431.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3217, allocations: 0 / 431.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001164/0.3218, allocations: 0 / 431.1 MB, free: 10.54 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.003828/0.3256, allocations: 2.177 MB / 433.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3257, allocations: 9.375 kB / 433.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005492/0.3263, allocations: 226.4 kB / 433.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.3278, allocations: 1.136 MB / 434.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.3279, allocations: 116.5 kB / 434.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.3281, allocations: 155.7 kB / 434.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/0.3312, allocations: 1.958 MB / 436.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-05/0.3313, allocations: 9.891 kB / 436.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.3314, allocations: 61.44 kB / 437 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.3315, allocations: 77.11 kB / 437 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.3342, allocations: 1.583 MB / 438.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009009/0.3432, allocations: 6.292 MB / 444.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.3445, allocations: 0.8376 MB / 445.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000964/0.3455, allocations: 0.5702 MB / 446.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.3457, allocations: 117.3 kB / 446.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3458, allocations: 49.47 kB / 446.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.495e-06/0.3458, allocations: 0 / 446.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.01309/0.3589, allocations: 5.853 MB / 452.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.359, allocations: 61.53 kB / 452.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.3609, allocations: 1.149 MB / 453.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.786e-05/0.361, allocations: 40.52 kB / 453.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.3615, allocations: 0.7882 MB / 454.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.3617, allocations: 317.2 kB / 454.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/0.362, allocations: 213.2 kB / 454.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.3621, allocations: 352.1 kB / 455.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007646/0.3629, allocations: 0.5428 MB / 455.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008722/0.3638, allocations: 0.881 MB / 456.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.3655, allocations: 1.524 MB / 458.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.3655, allocations: 4.219 kB / 458.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004167/0.3697, allocations: 2.05 MB / 460.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.3697, allocations: 8.969 kB / 460.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.3697, allocations: 10.78 kB / 460.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.3716, allocations: 0.5483 MB / 460.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.3727, allocations: 253.4 kB / 461.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.3855, allocations: 8.66 MB / 469.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.3873, allocations: 70.95 kB / 469.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.3875, allocations: 48.59 kB / 469.8 MB, free: 9.125 MB / 366.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.001473/0.389, allocations: 0.5216 MB / 470.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005561/0.3896, allocations: 132.2 kB / 470.5 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/0.3945, allocations: 1.766 MB / 472.3 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.3945, allocations: 14.62 kB / 472.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.3945, allocations: 4 kB / 472.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.3945, allocations: 3.984 kB / 472.3 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.4054, allocations: 3.748 MB / 476 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.4054, allocations: 5.016 kB / 476 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.4062, allocations: 125.7 kB / 476.2 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002565/0.4088, allocations: 0.5974 MB / 476.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.409, allocations: 27.61 kB / 476.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/0.4226, allocations: 7.699 MB / 484.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4226, allocations: 4 kB / 484.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006477/0.4291, allocations: 2.485 MB / 487 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.4302, allocations: 320.2 kB / 487.3 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004142/0.4306, allocations: 21.56 kB / 487.3 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.4318, allocations: 59.88 kB / 487.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/0.4321, allocations: 67.56 kB / 487.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.4322, allocations: 28.08 kB / 487.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001915/0.4342, allocations: 0.7932 MB / 488.2 MB, free: 6.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4342, allocations: 0 / 488.2 MB, free: 6.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002269/0.4364, allocations: 375.9 kB / 488.6 MB, free: 6.07 MB / 382.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.0005139/0.437, allocations: 179.2 kB / 488.8 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004996/0.442, allocations: 2.147 MB / 490.9 MB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.442, allocations: 0 / 490.9 MB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003077/0.4451, allocations: 1.299 MB / 492.2 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.4475, allocations: 365.9 kB / 492.6 MB, free: 2.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006175/0.4537, allocations: 3.368 MB / 496 MB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/0.4552, allocations: 1.448 MB / 497.4 MB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.4556, allocations: 95.42 kB / 497.5 MB, free: 13.05 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4556, allocations: 0 / 497.5 MB, free: 13.05 MB / 398.1 MB Notification: Performance of Templates: time 0.06973/0.5253, allocations: 59.24 MB / 0.5437 GB, free: 1.867 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.11932346993126] 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'] 0.5330698699690402 0.546651803 0.222303137 Calling exit ...