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.001586/0.001586, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.002258/0.002258, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.444/1.444, allocations: 225.6 MB / 250.8 MB, free: 13.42 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.001518/0.001518, allocations: 55.91 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2581, allocations: 52.14 MB / 420.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01095/0.269, allocations: 8.249 MB / 429.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006179/0.2752, allocations: 2.715 MB / 431.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.2766, allocations: 35.88 kB / 431.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.2784, allocations: 0.6525 MB / 432.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.2804, allocations: 0.664 MB / 433.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.2811, allocations: 291.5 kB / 433.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002522/0.2836, allocations: 2.027 MB / 435.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.2848, allocations: 0.8271 MB / 436.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.286, allocations: 0.8954 MB / 437.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.2875, allocations: 1.086 MB / 438.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.2878, allocations: 228 kB / 438.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005781/0.2884, allocations: 323.8 kB / 438.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000658/0.289, allocations: 0.6465 MB / 439.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.2901, allocations: 1.027 MB / 440.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.2934, allocations: 3.001 MB / 443.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2934, allocations: 0 / 443.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2934, allocations: 0 / 443.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.509e-05/0.2934, allocations: 0 / 443.5 MB, free: 8.496 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.003954/0.2974, allocations: 2.182 MB / 445.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2974, allocations: 8.031 kB / 445.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005929/0.298, allocations: 223.7 kB / 445.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.2999, allocations: 1.146 MB / 447.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-05/0.3, allocations: 111.4 kB / 447.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.3002, allocations: 156.1 kB / 447.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00336/0.3036, allocations: 1.963 MB / 449.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.874e-05/0.3036, allocations: 11.95 kB / 449.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.3038, allocations: 63.98 kB / 449.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.3039, allocations: 78.91 kB / 449.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002695/0.3066, allocations: 1.581 MB / 451 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009812/0.3164, allocations: 6.286 MB / 457.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.3178, allocations: 0.8029 MB / 458.1 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.3189, allocations: 0.5423 MB / 458.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.3192, allocations: 117.6 kB / 458.8 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.3192, allocations: 43.06 kB / 458.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.926e-06/0.3192, allocations: 0 / 458.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01445/0.3337, allocations: 5.845 MB / 464.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3337, allocations: 76.28 kB / 464.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.3356, allocations: 1.144 MB / 465.9 MB, free: 1.539 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.4e-05/0.3357, allocations: 41.7 kB / 465.9 MB, free: 1.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006319/0.3363, allocations: 0.7924 MB / 466.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.3366, allocations: 313.4 kB / 467 MB, free: 392 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.3369, allocations: 210.8 kB / 467.2 MB, free: 172 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3371, allocations: 349.9 kB / 467.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000866/0.338, allocations: 0.5413 MB / 468.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.3391, allocations: 0.8835 MB / 469 MB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.3413, allocations: 1.524 MB / 470.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3413, allocations: 4 kB / 470.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003799/0.3451, allocations: 2.044 MB / 472.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.3452, allocations: 8 kB / 472.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.3452, allocations: 12 kB / 472.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.3467, allocations: 0.5554 MB / 473.1 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008923/0.3476, allocations: 239.6 kB / 473.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009485/0.357, allocations: 8.659 MB / 482 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.3581, allocations: 75.81 kB / 482.1 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.3582, allocations: 48 kB / 482.2 MB, free: 336 kB / 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.0008765/0.359, allocations: 0.5209 MB / 482.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.3593, allocations: 127.2 kB / 482.8 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/0.3624, allocations: 1.759 MB / 484.6 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.3624, allocations: 12.08 kB / 484.6 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3624, allocations: 12 kB / 484.6 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3624, allocations: 3.984 kB / 484.6 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006444/0.3689, allocations: 3.722 MB / 488.3 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3689, allocations: 0 / 488.3 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.3694, allocations: 132 kB / 488.4 MB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.3711, allocations: 0.5954 MB / 489 MB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/0.3712, allocations: 23.98 kB / 489.1 MB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009092/0.3803, allocations: 7.707 MB / 496.8 MB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3803, allocations: 3.938 kB / 496.8 MB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.3844, allocations: 2.477 MB / 499.2 MB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006178/0.385, allocations: 316.2 kB / 499.6 MB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.3852, allocations: 27.92 kB / 499.6 MB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.3859, allocations: 55.94 kB / 499.6 MB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.3861, allocations: 64.5 kB / 499.7 MB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.3861, allocations: 32 kB / 499.7 MB, free: 14.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.3874, allocations: 0.7854 MB / 0.4888 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3874, allocations: 0 / 0.4888 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001491/0.3889, allocations: 383.9 kB / 0.4892 GB, free: 12.96 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.3893, allocations: 175.1 kB / 0.4893 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003524/0.3928, allocations: 2.083 MB / 0.4914 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3928, allocations: 0.75 kB / 0.4914 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.395, allocations: 1.263 MB / 0.4926 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.3968, allocations: 376.5 kB / 0.4929 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.4022, allocations: 3.339 MB / 0.4962 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.4034, allocations: 1.46 MB / 0.4976 GB, free: 4.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008365/0.4042, allocations: 263.1 kB / 0.4979 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.4045, allocations: 83.42 kB / 0.498 GB, free: 3.699 MB / 414.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4045, allocations: 0 / 0.498 GB, free: 3.699 MB / 414.1 MB Notification: Performance of Templates: time 0.03935/0.4438, allocations: 22.55 MB / 0.52 GB, free: 13.36 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.392950995825231]