Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00176/0.00176, allocations: 121.4 kB / 18.5 MB, free: 4.52 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.002266/0.002266, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.514/1.514, allocations: 230.4 MB / 254.7 MB, free: 15.03 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 75.81 kB / 374.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.09984, allocations: 53.31 MB / 427.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.1909/0.2907, allocations: 8.251 MB / 435.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.2945, allocations: 2.748 MB / 438.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004888/0.295, allocations: 42.16 kB / 438.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.2963, allocations: 0.6499 MB / 439.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.2975, allocations: 0.6684 MB / 439.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.298, allocations: 287.7 kB / 440 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.2997, allocations: 2.039 MB / 442.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.3008, allocations: 1.029 MB / 443.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.3019, allocations: 0.8979 MB / 444 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.3031, allocations: 1.1 MB / 445.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002686/0.3034, allocations: 226.7 kB / 445.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005416/0.3039, allocations: 319.5 kB / 445.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005276/0.3045, allocations: 0.6378 MB / 446.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008583/0.3053, allocations: 1.033 MB / 447.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.3083, allocations: 3.01 MB / 450.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3083, allocations: 0 / 450.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3083, allocations: 0 / 450.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.926e-05/0.3083, allocations: 0 / 450.3 MB, free: 0.6289 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.003891/0.3122, allocations: 2.18 MB / 452.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3122, allocations: 9.094 kB / 452.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006189/0.3129, allocations: 227.1 kB / 452.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.3147, allocations: 1.146 MB / 453.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3148, allocations: 116.1 kB / 454 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/0.315, allocations: 164.2 kB / 454.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.3183, allocations: 1.955 MB / 456.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/0.3183, allocations: 10.86 kB / 456.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.3185, allocations: 65.47 kB / 456.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.294e-05/0.3185, allocations: 77.97 kB / 456.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/0.3212, allocations: 1.581 MB / 457.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009547/0.3307, allocations: 6.281 MB / 464.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.3321, allocations: 0.7972 MB / 464.9 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.3331, allocations: 0.5407 MB / 465.4 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.3334, allocations: 125.8 kB / 465.6 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.3334, allocations: 41.72 kB / 465.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.826e-06/0.3334, allocations: 0 / 465.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01379/0.3472, allocations: 5.843 MB / 471.4 MB, free: 3.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3472, allocations: 65.59 kB / 471.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.349, allocations: 1.152 MB / 472.7 MB, free: 2.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.3491, allocations: 44.55 kB / 472.7 MB, free: 2.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006198/0.3497, allocations: 0.7963 MB / 473.5 MB, free: 2.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.35, allocations: 321.3 kB / 473.8 MB, free: 1.703 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/0.3504, allocations: 206.9 kB / 474 MB, free: 1.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3505, allocations: 353.9 kB / 474.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008154/0.3513, allocations: 0.5374 MB / 474.9 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.3527, allocations: 0.8835 MB / 475.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/0.3559, allocations: 1.524 MB / 477.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.3559, allocations: 4 kB / 477.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005526/0.3614, allocations: 2.04 MB / 479.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.3615, allocations: 15.97 kB / 479.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.3615, allocations: 12.56 kB / 479.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/0.3637, allocations: 0.5475 MB / 479.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.3651, allocations: 239.6 kB / 480.2 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/0.3788, allocations: 8.661 MB / 488.8 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.3806, allocations: 72.7 kB / 488.9 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.3807, allocations: 51.98 kB / 488.9 MB, free: 1.668 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.001372/0.3821, allocations: 0.5209 MB / 489.5 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/0.3825, allocations: 131.2 kB / 489.6 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/0.3871, allocations: 1.76 MB / 491.4 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.3871, allocations: 11.94 kB / 491.4 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3871, allocations: 4 kB / 491.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.3872, allocations: 3.984 kB / 491.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009731/0.3969, allocations: 3.735 MB / 495.1 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.3969, allocations: 4 kB / 495.1 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/0.3976, allocations: 123.8 kB / 495.2 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002311/0.4, allocations: 0.5909 MB / 495.8 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.4001, allocations: 23.98 kB / 495.8 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/0.4104, allocations: 7.709 MB / 0.4918 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.4104, allocations: 11.94 kB / 0.4918 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.4145, allocations: 2.473 MB / 0.4942 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006945/0.4152, allocations: 328.1 kB / 0.4945 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.4154, allocations: 23.94 kB / 0.4945 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.416, allocations: 51.94 kB / 0.4946 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.4162, allocations: 68.5 kB / 0.4946 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/0.4163, allocations: 23.98 kB / 0.4947 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.4174, allocations: 0.7934 MB / 0.4954 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4174, allocations: 0 / 0.4954 GB, free: 14.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001344/0.4188, allocations: 372 kB / 0.4958 GB, free: 14.32 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.0003411/0.4191, allocations: 190.6 kB / 0.496 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003349/0.4225, allocations: 2.068 MB / 0.498 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.4225, allocations: 7.938 kB / 0.498 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002152/0.4246, allocations: 1.268 MB / 0.4992 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.4263, allocations: 378.2 kB / 0.4996 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.4318, allocations: 3.333 MB / 0.5028 GB, free: 6.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.4331, allocations: 1.456 MB / 0.5043 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008082/0.4339, allocations: 267 kB / 0.5045 GB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.4342, allocations: 79.44 kB / 0.5046 GB, free: 5.066 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4342, allocations: 0 / 0.5046 GB, free: 5.066 MB / 414.1 MB Notification: Performance of Templates: time 0.03961/0.4738, allocations: 22.28 MB / 0.5264 GB, free: 15.01 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.436400488950312]