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.001792/0.001792, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002024/0.002024, allocations: 184.2 kB / 23.71 MB, free: 4.695 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.465/1.465, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.001533/0.001533, allocations: 51.91 kB / 370.9 MB, free: 9.34 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2706, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01105/0.2817, allocations: 8.254 MB / 431.4 MB, free: 6.375 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005706/0.2874, allocations: 2.703 MB / 434.1 MB, free: 3.66 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.2884, allocations: 51.69 kB / 434.1 MB, free: 3.609 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001823/0.2903, allocations: 0.6484 MB / 434.8 MB, free: 2.961 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002226/0.2925, allocations: 0.6718 MB / 435.5 MB, free: 2.285 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.2932, allocations: 291.5 kB / 435.7 MB, free: 2 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002728/0.2959, allocations: 2.039 MB / 437.8 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.2972, allocations: 0.8276 MB / 438.6 MB, free: 15.08 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.2985, allocations: 0.9032 MB / 439.5 MB, free: 14.17 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.3002, allocations: 1.098 MB / 440.6 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003629/0.3006, allocations: 224 kB / 440.8 MB, free: 12.85 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006775/0.3012, allocations: 323.8 kB / 441.2 MB, free: 12.54 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0007264/0.302, allocations: 0.6428 MB / 441.8 MB, free: 11.89 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001214/0.3032, allocations: 1.034 MB / 442.8 MB, free: 10.85 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003367/0.3065, allocations: 2.997 MB / 445.8 MB, free: 7.844 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3065, allocations: 3.938 kB / 445.8 MB, free: 7.84 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.352e-06/0.3065, allocations: 0 / 445.8 MB, free: 7.84 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 4.093e-05/0.3066, allocations: 0 / 445.8 MB, free: 7.84 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.004401/0.311, allocations: 2.103 MB / 447.9 MB, free: 5.695 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.311, allocations: 8.031 kB / 447.9 MB, free: 5.688 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000619/0.3116, allocations: 223.7 kB / 448.2 MB, free: 5.469 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.3136, allocations: 1.078 MB / 449.2 MB, free: 4.355 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.3137, allocations: 119.4 kB / 449.4 MB, free: 4.238 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.314, allocations: 156.1 kB / 449.5 MB, free: 4.086 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/0.3174, allocations: 1.963 MB / 451.5 MB, free: 2.078 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.3174, allocations: 7.953 kB / 451.5 MB, free: 2.07 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.3176, allocations: 60 kB / 451.5 MB, free: 2.012 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.3177, allocations: 78.91 kB / 451.6 MB, free: 1.934 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.3206, allocations: 1.585 MB / 453.2 MB, free: 352 kB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/0.3319, allocations: 6.164 MB / 459.4 MB, free: 9.969 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.3334, allocations: 0.7348 MB / 460.1 MB, free: 9.227 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.3345, allocations: 0.5421 MB / 460.6 MB, free: 8.68 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/0.3348, allocations: 44.56 kB / 460.7 MB, free: 8.633 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.3348, allocations: 39.22 kB / 460.7 MB, free: 8.586 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=65): time 3.286e-06/0.3348, allocations: 0 / 460.7 MB, free: 8.586 MB / 366.1 MB
Notification: Performance of matching and sorting (n=85): time 0.01487/0.3497, allocations: 5.477 MB / 466.2 MB, free: 3.074 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.3498, allocations: 64.34 kB / 466.3 MB, free: 2.996 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.3517, allocations: 1.144 MB / 467.4 MB, free: 1.836 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.3519, allocations: 41.7 kB / 467.4 MB, free: 1.789 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0006616/0.3525, allocations: 0.7924 MB / 468.2 MB, free: 0.9883 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.3528, allocations: 309.4 kB / 468.5 MB, free: 0.6836 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/0.3532, allocations: 210.8 kB / 468.7 MB, free: 480 kB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001817/0.3534, allocations: 345.9 kB / 469.1 MB, free: 128 kB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/0.3542, allocations: 0.5492 MB / 469.6 MB, free: 15.57 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.3555, allocations: 0.8835 MB / 470.5 MB, free: 14.54 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.3578, allocations: 1.52 MB / 472 MB, free: 12.88 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.3578, allocations: 4 kB / 472 MB, free: 12.87 MB / 382.1 MB
Notification: Performance of matching and sorting (n=142) (initialization): time 0.003844/0.3616, allocations: 2.048 MB / 474.1 MB, free: 10.79 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.3617, allocations: 12 kB / 474.1 MB, free: 10.78 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.3617, allocations: 8 kB / 474.1 MB, free: 10.77 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.3633, allocations: 0.5515 MB / 474.7 MB, free: 10.2 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/0.3641, allocations: 239.6 kB / 474.9 MB, free: 9.969 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009601/0.3737, allocations: 8.257 MB / 483.1 MB, free: 1.262 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.3748, allocations: 71.81 kB / 483.2 MB, free: 1.191 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.3749, allocations: 55.98 kB / 483.3 MB, free: 1.137 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.0008745/0.3757, allocations: 0.5131 MB / 483.8 MB, free: 0.6133 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.376, allocations: 135.1 kB / 483.9 MB, free: 492 kB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/0.3792, allocations: 1.755 MB / 485.7 MB, free: 14.7 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.3792, allocations: 8 kB / 485.7 MB, free: 14.7 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3793, allocations: 4 kB / 485.7 MB, free: 14.69 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3793, allocations: 3.984 kB / 485.7 MB, free: 14.69 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006662/0.3859, allocations: 3.705 MB / 489.4 MB, free: 10.9 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3859, allocations: 0 / 489.4 MB, free: 10.9 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.3865, allocations: 127.8 kB / 489.5 MB, free: 10.77 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.3882, allocations: 0.5991 MB / 490.1 MB, free: 10.16 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/0.3882, allocations: 23.98 kB / 490.1 MB, free: 10.14 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009494/0.3977, allocations: 7.389 MB / 497.5 MB, free: 2.41 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3977, allocations: 4 kB / 497.5 MB, free: 2.406 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004458/0.4022, allocations: 2.484 MB / 0.4883 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009797/0.4032, allocations: 239.2 kB / 0.4885 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.4034, allocations: 23.94 kB / 0.4885 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.4041, allocations: 51.94 kB / 0.4886 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.4043, allocations: 76.45 kB / 0.4887 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.889e-05/0.4044, allocations: 23.98 kB / 0.4887 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.001346/0.4057, allocations: 0.7932 MB / 0.4895 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4057, allocations: 0 / 0.4895 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001541/0.4073, allocations: 375.9 kB / 0.4898 GB, free: 14.29 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.0004158/0.4077, allocations: 182.6 kB / 0.49 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.003828/0.4115, allocations: 1.929 MB / 0.4919 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4115, allocations: 0 / 0.4919 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002204/0.4137, allocations: 1.185 MB / 0.493 GB, free: 10.9 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.4156, allocations: 371.5 kB / 0.4934 GB, free: 10.54 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005534/0.4211, allocations: 3.339 MB / 0.4967 GB, free: 7.145 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.4224, allocations: 1.471 MB / 0.4981 GB, free: 5.645 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0007939/0.4232, allocations: 267 kB / 0.4983 GB, free: 5.379 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.4234, allocations: 83.42 kB / 0.4984 GB, free: 5.297 MB / 414.1 MB
Notification: Performance of SimCode: time 1.122e-06/0.4234, allocations: 0 / 0.4984 GB, free: 5.297 MB / 414.1 MB
Notification: Performance of Templates: time 0.04909/0.4725, allocations: 22.88 MB / 0.5208 GB, free: 14.63 MB / 446.1 MB
"
[Timeout remaining time 660]
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: 5.284513027407229]
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.4830965884029865 0.5090186320000001 0.197266251
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f049e1817b0>