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.001316/0.001316, allocations: 120.8 kB / 18.46 MB, free: 4.473 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.001294/0.001294, allocations: 190.9 kB / 21.4 MB, free: 1.535 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: 225.6 MB / 249.8 MB, free: 3.645 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.002427/0.002427, allocations: 55.92 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1279, allocations: 52.14 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01016/0.1381, allocations: 8.219 MB / 427.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005565/0.1437, allocations: 2.719 MB / 429.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.1448, allocations: 35.88 kB / 429.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.1466, allocations: 0.6409 MB / 430.6 MB, free: 456 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.1484, allocations: 0.6525 MB / 431.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.149, allocations: 287.6 kB / 431.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002309/0.1513, allocations: 2.043 MB / 433.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.1527, allocations: 1.019 MB / 434.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.1538, allocations: 0.8837 MB / 435.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.1553, allocations: 1.098 MB / 436.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.1557, allocations: 228 kB / 436.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006293/0.1563, allocations: 323.8 kB / 437.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006764/0.157, allocations: 0.635 MB / 437.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.1581, allocations: 1.034 MB / 438.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00328/0.1614, allocations: 3.001 MB / 441.8 MB, free: 5.172 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1614, allocations: 4 kB / 441.8 MB, free: 5.168 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1614, allocations: 0 / 441.8 MB, free: 5.168 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.478e-05/0.1615, allocations: 0 / 441.8 MB, free: 5.168 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.004179/0.1657, allocations: 2.166 MB / 443.9 MB, free: 2.941 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1657, allocations: 12.03 kB / 443.9 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006124/0.1663, allocations: 223.7 kB / 444.2 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.1682, allocations: 1.146 MB / 445.3 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.925e-05/0.1683, allocations: 111.4 kB / 445.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.1686, allocations: 168.1 kB / 445.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.198/0.3666, allocations: 1.948 MB / 447.5 MB, free: 28.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.185e-05/0.3666, allocations: 5.375 kB / 447.5 MB, free: 28.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.3667, allocations: 60.38 kB / 447.6 MB, free: 28.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.081e-05/0.3668, allocations: 80.44 kB / 447.7 MB, free: 28.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.3691, allocations: 1.585 MB / 449.3 MB, free: 28.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008489/0.3776, allocations: 6.295 MB / 455.6 MB, free: 26.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.379, allocations: 0.8026 MB / 456.4 MB, free: 25.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009193/0.3799, allocations: 0.5456 MB / 456.9 MB, free: 25.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.3801, allocations: 118.4 kB / 457 MB, free: 25.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3802, allocations: 43.69 kB / 457.1 MB, free: 25.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.394e-06/0.3802, allocations: 2.094 kB / 457.1 MB, free: 25.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01346/0.3936, allocations: 5.843 MB / 462.9 MB, free: 23.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.3936, allocations: 60.75 kB / 463 MB, free: 23.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.3953, allocations: 1.147 MB / 464.1 MB, free: 22.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/0.3954, allocations: 41.83 kB / 464.2 MB, free: 22.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/0.3958, allocations: 0.7884 MB / 464.9 MB, free: 22.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.3961, allocations: 318.9 kB / 465.3 MB, free: 22.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/0.3964, allocations: 210.4 kB / 465.5 MB, free: 22.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.3965, allocations: 355.7 kB / 465.8 MB, free: 21.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/0.3972, allocations: 0.5418 MB / 466.4 MB, free: 21.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/0.398, allocations: 0.8816 MB / 467.2 MB, free: 20.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.3996, allocations: 1.527 MB / 468.8 MB, free: 19.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3996, allocations: 3.344 kB / 468.8 MB, free: 19.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003103/0.4027, allocations: 2.041 MB / 470.8 MB, free: 18.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4028, allocations: 8.969 kB / 470.8 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.4028, allocations: 15.38 kB / 470.8 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.4041, allocations: 0.5459 MB / 471.4 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/0.4049, allocations: 239.6 kB / 471.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006532/0.4115, allocations: 8.668 MB / 480.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.4125, allocations: 75.83 kB / 480.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/0.4126, allocations: 49.66 kB / 480.4 MB, free: 10.84 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.0008377/0.4134, allocations: 0.513 MB / 480.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.4136, allocations: 130.6 kB / 481 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.4161, allocations: 1.767 MB / 482.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4161, allocations: 7.938 kB / 482.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4161, allocations: 7.938 kB / 482.8 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.4162, allocations: 3.984 kB / 482.8 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00483/0.421, allocations: 3.72 MB / 486.5 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.421, allocations: 11.78 kB / 486.6 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004708/0.4215, allocations: 120 kB / 486.7 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/0.4228, allocations: 0.597 MB / 487.3 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.4229, allocations: 24.55 kB / 487.3 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006322/0.4292, allocations: 7.701 MB / 495 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4292, allocations: 0 / 495 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004022/0.4332, allocations: 2.483 MB / 497.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/0.4338, allocations: 312.3 kB / 497.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.4339, allocations: 31.92 kB / 497.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.4346, allocations: 55.88 kB / 497.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.4348, allocations: 72.5 kB / 497.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.4348, allocations: 24 kB / 498 MB, free: 11.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001186/0.436, allocations: 0.7893 MB / 498.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.436, allocations: 0.5625 kB / 498.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001355/0.4374, allocations: 372 kB / 499.1 MB, free: 10.53 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.0003366/0.4377, allocations: 179 kB / 499.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.4411, allocations: 2.079 MB / 0.4896 GB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4411, allocations: 4.188 kB / 0.4896 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.4432, allocations: 1.259 MB / 0.4909 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.4448, allocations: 371 kB / 0.4912 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/0.4505, allocations: 3.381 MB / 0.4945 GB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.4518, allocations: 1.46 MB / 0.4959 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.4522, allocations: 87.42 kB / 0.496 GB, free: 1.5 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4522, allocations: 0 / 0.496 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Templates: time 0.06909/0.5213, allocations: 59.35 MB / 0.554 GB, free: 6.18 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.223280768143013] 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.5319396178238094 0.542294973 0.37801946000000003 Calling exit ...