Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.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.001837/0.001837, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.002865/0.002865, allocations: 164.8 kB / 23.95 MB, free: 0.6055 MB / 18.57 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.614/1.614, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.399/0.399, allocations: 34.86 MB / 295.4 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 443.6 MB, free: 440 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.771e-05, allocations: 4.812 kB / 443.6 MB, free: 436 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.2854/0.2854, allocations: 7.378 MB / 451 MB, free: 39.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.2893, allocations: 2.569 MB / 453.6 MB, free: 37.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005639/0.2899, allocations: 55.72 kB / 453.6 MB, free: 37.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.2913, allocations: 0.6017 MB / 454.2 MB, free: 37.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.2926, allocations: 0.701 MB / 454.9 MB, free: 37.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.2931, allocations: 290.6 kB / 455.2 MB, free: 36.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.2947, allocations: 2.109 MB / 457.3 MB, free: 35.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008837/0.2956, allocations: 0.7977 MB / 458.1 MB, free: 35.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.2969, allocations: 1.323 MB / 459.4 MB, free: 34.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.298, allocations: 0.914 MB / 460.3 MB, free: 34.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.2983, allocations: 226.4 kB / 460.6 MB, free: 34.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.2989, allocations: 317.7 kB / 460.9 MB, free: 34.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005106/0.2994, allocations: 0.6558 MB / 461.5 MB, free: 34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000687/0.3001, allocations: 0.71 MB / 462.2 MB, free: 33.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.3024, allocations: 3.036 MB / 465.3 MB, free: 32.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3024, allocations: 0 / 465.3 MB, free: 32.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3024, allocations: 0 / 465.3 MB, free: 32.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.07e-05/0.3024, allocations: 0 / 465.3 MB, free: 32.62 MB / 410.7 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.003209/0.3057, allocations: 2.09 MB / 467.4 MB, free: 31.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3057, allocations: 13.78 kB / 467.4 MB, free: 31.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005502/0.3063, allocations: 222.2 kB / 467.6 MB, free: 31.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.3079, allocations: 1.079 MB / 468.7 MB, free: 30.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.535e-05/0.3079, allocations: 114.1 kB / 468.8 MB, free: 30.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.3081, allocations: 149.5 kB / 468.9 MB, free: 30.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.3107, allocations: 2.067 MB / 471 MB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.815e-05/0.3107, allocations: 7.016 kB / 471 MB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.3109, allocations: 60.88 kB / 471.1 MB, free: 29.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.819e-05/0.3109, allocations: 76.98 kB / 471.1 MB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.3131, allocations: 1.586 MB / 472.7 MB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007006/0.3201, allocations: 5.454 MB / 478.2 MB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.3212, allocations: 0.7151 MB / 478.9 MB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.322, allocations: 0.5422 MB / 479.4 MB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.3222, allocations: 47.45 kB / 479.5 MB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.3222, allocations: 38.25 kB / 479.5 MB, free: 25.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=65): time 2.074e-06/0.3222, allocations: 0 / 479.5 MB, free: 25.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=85): time 0.0119/0.3341, allocations: 5.452 MB / 485 MB, free: 23.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.3341, allocations: 61.81 kB / 485 MB, free: 23.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.3354, allocations: 0.9964 MB / 486 MB, free: 22.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.3355, allocations: 41.2 kB / 486.1 MB, free: 22.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.3359, allocations: 0.802 MB / 486.9 MB, free: 22.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.3361, allocations: 311.7 kB / 487.2 MB, free: 22.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.3365, allocations: 209.8 kB / 487.4 MB, free: 21.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.3365, allocations: 351.1 kB / 487.7 MB, free: 21.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008097/0.3374, allocations: 0.5422 MB / 488.3 MB, free: 21.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009732/0.3383, allocations: 0.8878 MB / 489.1 MB, free: 20.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.3401, allocations: 1.528 MB / 490.7 MB, free: 19.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.3401, allocations: 3.219 kB / 490.7 MB, free: 19.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003562/0.3437, allocations: 2.029 MB / 492.7 MB, free: 19.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.3437, allocations: 9.688 kB / 492.7 MB, free: 19.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.3437, allocations: 11.5 kB / 492.7 MB, free: 19.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.3452, allocations: 0.557 MB / 493.3 MB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008269/0.346, allocations: 238 kB / 493.5 MB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007387/0.3534, allocations: 8.098 MB / 0.4899 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.3546, allocations: 75.28 kB / 0.4899 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.3547, allocations: 54.91 kB / 0.49 GB, free: 12.56 MB / 410.7 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.0009437/0.3556, allocations: 0.513 MB / 0.4905 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.3558, allocations: 118.6 kB / 0.4906 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003043/0.3589, allocations: 1.743 MB / 0.4923 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.3589, allocations: 8.422 kB / 0.4923 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.3589, allocations: 9.125 kB / 0.4923 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3589, allocations: 8.203 kB / 0.4923 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006208/0.3651, allocations: 3.329 MB / 0.4956 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.3651, allocations: 2.625 kB / 0.4956 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.3657, allocations: 125.8 kB / 0.4957 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.3673, allocations: 0.5961 MB / 0.4963 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-05/0.3673, allocations: 27.31 kB / 0.4963 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007436/0.3748, allocations: 7.264 MB / 0.5034 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3748, allocations: 2.625 kB / 0.5034 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/0.3787, allocations: 2.461 MB / 0.5058 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006191/0.3793, allocations: 217.8 kB / 0.506 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.3794, allocations: 22.11 kB / 0.506 GB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.38, allocations: 60.25 kB / 0.5061 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.3802, allocations: 71.33 kB / 0.5062 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.3803, allocations: 31.17 kB / 0.5062 GB, free: 3.066 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00124/0.3815, allocations: 0.6708 MB / 0.5068 GB, free: 2.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3815, allocations: 0 / 0.5068 GB, free: 2.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001459/0.383, allocations: 372 kB / 0.5072 GB, free: 2.117 MB / 410.7 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.0003218/0.3833, allocations: 182.1 kB / 0.5074 GB, free: 1.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002724/0.386, allocations: 1.926 MB / 0.5093 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.386, allocations: 0 / 0.5093 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.3884, allocations: 1.193 MB / 0.5104 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.39, allocations: 316 kB / 0.5107 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.3965, allocations: 3.161 MB / 0.5138 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.3978, allocations: 0.8782 MB / 0.5147 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009975/0.3988, allocations: 245.8 kB / 0.5149 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.3991, allocations: 80.5 kB / 0.515 GB, free: 10.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3991, allocations: 0 / 0.515 GB, free: 10.01 MB / 426.7 MB Notification: Performance of Templates: time 0.03995/0.439, allocations: 20.53 MB / 0.535 GB, free: 5.777 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.161325432825834]