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.001794/0.001794, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002307/0.002307, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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: 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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 51.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2205, allocations: 53.36 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009564/0.2301, allocations: 7.285 MB / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004533/0.2346, allocations: 2.575 MB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.2351, allocations: 51.69 kB / 442.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.2365, allocations: 0.6015 MB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.2378, allocations: 0.668 MB / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.2383, allocations: 291.6 kB / 443.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002141/0.2405, allocations: 2.045 MB / 445.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.2416, allocations: 0.8354 MB / 446.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.2427, allocations: 0.9189 MB / 447.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.244, allocations: 1.101 MB / 448.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002998/0.2443, allocations: 228 kB / 448.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.2449, allocations: 307.8 kB / 449.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006473/0.2455, allocations: 0.6466 MB / 449.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008615/0.2464, allocations: 0.8324 MB / 450.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.2494, allocations: 3.032 MB / 453.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2494, allocations: 0 / 453.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2494, allocations: 0 / 453.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.2494, allocations: 0 / 453.7 MB, free: 1.168 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.003781/0.2532, allocations: 2.107 MB / 455.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2533, allocations: 8.031 kB / 455.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/0.2539, allocations: 223.7 kB / 456.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.2559, allocations: 1.082 MB / 457.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.499e-05/0.256, allocations: 111.4 kB / 457.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.2563, allocations: 159.9 kB / 457.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003252/0.2595, allocations: 2.055 MB / 459.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.2596, allocations: 7.891 kB / 459.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.2597, allocations: 67.98 kB / 459.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.451e-05/0.2598, allocations: 78.91 kB / 459.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.2624, allocations: 1.577 MB / 461.2 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009278/0.2717, allocations: 5.448 MB / 466.7 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.2731, allocations: 0.7364 MB / 467.4 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.2741, allocations: 0.5381 MB / 467.9 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.2743, allocations: 40.62 kB / 468 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.2744, allocations: 43.16 kB / 468 MB, free: 2.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.805e-06/0.2744, allocations: 0 / 468 MB, free: 2.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01365/0.288, allocations: 5.466 MB / 473.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.2881, allocations: 64.34 kB / 473.5 MB, free: 12.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.2896, allocations: 0.9999 MB / 474.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-05/0.2896, allocations: 41.7 kB / 474.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006214/0.2903, allocations: 0.8002 MB / 475.4 MB, free: 11.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.2905, allocations: 321.3 kB / 475.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003523/0.2909, allocations: 206.9 kB / 475.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2911, allocations: 349.9 kB / 476.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008445/0.2919, allocations: 0.5452 MB / 476.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.293, allocations: 0.8873 MB / 477.7 MB, free: 8.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.2951, allocations: 1.52 MB / 479.2 MB, free: 6.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.2951, allocations: 8 kB / 479.2 MB, free: 6.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003565/0.2987, allocations: 2.02 MB / 481.2 MB, free: 4.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.2987, allocations: 8 kB / 481.2 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.2987, allocations: 15.98 kB / 481.2 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/0.3003, allocations: 0.5632 MB / 481.8 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.3012, allocations: 239.6 kB / 482 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00909/0.3103, allocations: 8.099 MB / 490.1 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/0.3112, allocations: 80.02 kB / 490.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-05/0.3113, allocations: 51.94 kB / 490.3 MB, free: 11.41 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.0008692/0.3121, allocations: 0.5169 MB / 490.8 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.3124, allocations: 115.2 kB / 490.9 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003296/0.3157, allocations: 1.746 MB / 492.6 MB, free: 9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.3157, allocations: 8.109 kB / 492.6 MB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3157, allocations: 7.938 kB / 492.7 MB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3157, allocations: 7.984 kB / 492.7 MB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006316/0.322, allocations: 3.32 MB / 496 MB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.322, allocations: 0 / 496 MB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.3226, allocations: 127.9 kB / 496.1 MB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/0.3243, allocations: 0.5957 MB / 496.7 MB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/0.3244, allocations: 23.98 kB / 496.7 MB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008696/0.3331, allocations: 7.274 MB / 0.4922 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.3331, allocations: 4 kB / 0.4922 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004129/0.3372, allocations: 2.464 MB / 0.4946 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/0.3379, allocations: 223.2 kB / 0.4948 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.3381, allocations: 23.98 kB / 0.4948 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006659/0.3388, allocations: 51.94 kB / 0.4949 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.339, allocations: 68.52 kB / 0.495 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.339, allocations: 35.94 kB / 0.495 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00102/0.3401, allocations: 0.6684 MB / 0.4956 GB, free: 9.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3401, allocations: 0 / 0.4956 GB, free: 9.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001354/0.3414, allocations: 368 kB / 0.496 GB, free: 9.301 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.0003567/0.3418, allocations: 182.9 kB / 0.4962 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003408/0.3452, allocations: 1.925 MB / 0.498 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3452, allocations: 0 / 0.498 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.3473, allocations: 1.193 MB / 0.4992 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.3488, allocations: 302.4 kB / 0.4995 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/0.3541, allocations: 3.331 MB / 0.5027 GB, free: 2.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.3552, allocations: 0.8822 MB / 0.5036 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006951/0.3559, allocations: 249.8 kB / 0.5038 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.3561, allocations: 71.44 kB / 0.5039 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3561, allocations: 0 / 0.5039 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Templates: time 0.03826/0.3943, allocations: 23.01 MB / 0.5264 GB, free: 10.32 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.3088828540057875] 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.40273988799890503 0.5634312779999999 0.31127801099999997 Calling exit ...