Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002105/0.002105, allocations: 112.3 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002163/0.002163, allocations: 197 kB / 21.45 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 373.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1075, allocations: 53.31 MB / 427.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.1986/0.3061, allocations: 8.256 MB / 435.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003739/0.3099, allocations: 2.748 MB / 438.2 MB, free: 6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005145/0.3104, allocations: 40.41 kB / 438.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.3117, allocations: 0.6468 MB / 438.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.3129, allocations: 0.672 MB / 439.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.3135, allocations: 286.3 kB / 439.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.3154, allocations: 2.038 MB / 441.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.3166, allocations: 1.025 MB / 442.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.3177, allocations: 0.9019 MB / 443.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.319, allocations: 1.095 MB / 444.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.3193, allocations: 227.8 kB / 445.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005949/0.3199, allocations: 317.8 kB / 445.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005306/0.3204, allocations: 0.6453 MB / 446 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009105/0.3213, allocations: 1.029 MB / 447.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.3249, allocations: 3.002 MB / 450.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3249, allocations: 0 / 450.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3249, allocations: 3.938 kB / 450.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.745e-05/0.3249, allocations: 5.5 kB / 450.1 MB, free: 0.7422 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.004916/0.3299, allocations: 2.183 MB / 452.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3299, allocations: 8.906 kB / 452.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006938/0.3306, allocations: 226.9 kB / 452.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.3326, allocations: 1.147 MB / 453.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.3327, allocations: 111.6 kB / 453.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.333, allocations: 161 kB / 453.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.3365, allocations: 1.957 MB / 455.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.128e-05/0.3366, allocations: 10.69 kB / 455.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.3368, allocations: 65.52 kB / 455.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.3369, allocations: 78.27 kB / 456 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.3396, allocations: 1.587 MB / 457.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.3496, allocations: 6.282 MB / 463.9 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.3511, allocations: 0.8003 MB / 464.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009979/0.3521, allocations: 0.5402 MB / 465.2 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.3523, allocations: 125.6 kB / 465.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3523, allocations: 39.09 kB / 465.4 MB, free: 7.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.344e-06/0.3524, allocations: 0 / 465.4 MB, free: 7.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01432/0.3667, allocations: 5.847 MB / 471.2 MB, free: 3.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/0.3668, allocations: 65.06 kB / 471.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.3685, allocations: 1.148 MB / 472.4 MB, free: 3.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/0.3686, allocations: 41.64 kB / 472.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/0.3693, allocations: 0.7986 MB / 473.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.3695, allocations: 317.3 kB / 473.6 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.3699, allocations: 210.9 kB / 473.8 MB, free: 1.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3701, allocations: 353.9 kB / 474.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008303/0.3709, allocations: 0.5413 MB / 474.7 MB, free: 0.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.372, allocations: 0.8835 MB / 475.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.3741, allocations: 1.524 MB / 477.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.3741, allocations: 4 kB / 477.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003814/0.3779, allocations: 2.04 MB / 479.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.3779, allocations: 12 kB / 479.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.378, allocations: 8 kB / 479.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/0.3795, allocations: 0.5563 MB / 479.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008977/0.3804, allocations: 244.2 kB / 480 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009742/0.3902, allocations: 8.651 MB / 488.6 MB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.3914, allocations: 75.98 kB / 488.7 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.3915, allocations: 51.98 kB / 488.7 MB, free: 1.82 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.001069/0.3925, allocations: 0.5169 MB / 489.2 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.3928, allocations: 127.2 kB / 489.4 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/0.3961, allocations: 1.759 MB / 491.1 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.3961, allocations: 12 kB / 491.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.3961, allocations: 4 kB / 491.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3961, allocations: 3.984 kB / 491.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007174/0.4033, allocations: 3.738 MB / 494.9 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4033, allocations: 0 / 494.9 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.4038, allocations: 125.9 kB / 495 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.4056, allocations: 0.5926 MB / 495.6 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-05/0.4056, allocations: 23.98 kB / 495.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009629/0.4153, allocations: 7.714 MB / 0.4915 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.4153, allocations: 5.453 kB / 0.4915 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004468/0.4197, allocations: 2.488 MB / 0.494 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008286/0.4206, allocations: 312.5 kB / 0.4943 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000367/0.4209, allocations: 23.75 kB / 0.4943 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008642/0.4218, allocations: 59.92 kB / 0.4944 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.422, allocations: 64.56 kB / 0.4944 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/0.4221, allocations: 28 kB / 0.4944 GB, free: 15.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001471/0.4236, allocations: 0.7895 MB / 0.4952 GB, free: 14.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4236, allocations: 0 / 0.4952 GB, free: 14.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001767/0.4253, allocations: 376 kB / 0.4956 GB, free: 14.47 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.0004433/0.4258, allocations: 178.6 kB / 0.4957 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003794/0.4296, allocations: 2.084 MB / 0.4978 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4296, allocations: 0 / 0.4978 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.4319, allocations: 1.271 MB / 0.499 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/0.4342, allocations: 372.2 kB / 0.4994 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.4408, allocations: 3.334 MB / 0.5026 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/0.4425, allocations: 1.46 MB / 0.5041 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009515/0.4434, allocations: 263 kB / 0.5043 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.4437, allocations: 87.44 kB / 0.5044 GB, free: 5.215 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4437, allocations: 0 / 0.5044 GB, free: 5.215 MB / 414.1 MB Notification: Performance of Templates: time 0.05074/0.4945, allocations: 22.27 MB / 0.5261 GB, free: 15.12 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.397888262756169]