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.001397/0.001397, allocations: 87.66 kB / 20.68 MB, free: 1.02 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.001553/0.001553, allocations: 165.8 kB / 23.95 MB, free: 4.148 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.445/1.445, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.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 1.252e-06/1.252e-06, allocations: 0 / 325 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.218e-05, allocations: 2.281 kB / 325 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009718/0.00974, allocations: 7.307 MB / 332.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005691/0.01543, allocations: 2.585 MB / 334.9 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.01656, allocations: 50.38 kB / 335 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.01841, allocations: 0.6017 MB / 335.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.02048, allocations: 0.6954 MB / 336.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007116/0.02119, allocations: 292.6 kB / 336.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002799/0.02399, allocations: 2.111 MB / 338.7 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.02533, allocations: 0.7949 MB / 339.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.02762, allocations: 1.334 MB / 340.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.02926, allocations: 0.9079 MB / 341.7 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003896/0.02965, allocations: 228 kB / 341.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007093/0.03036, allocations: 315.8 kB / 342.2 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00078/0.03114, allocations: 0.6583 MB / 342.9 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.03226, allocations: 0.7133 MB / 343.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003894/0.03616, allocations: 3.038 MB / 346.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.03616, allocations: 0 / 346.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.03616, allocations: 0 / 346.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.044e-05/0.03625, allocations: 0 / 346.6 MB, free: 15.35 MB / 318.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.004806/0.04106, allocations: 2.087 MB / 348.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.0411, allocations: 11.98 kB / 348.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006869/0.04179, allocations: 231.6 kB / 349 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.04394, allocations: 1.073 MB / 350 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-05/0.04403, allocations: 115.4 kB / 350.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/0.04433, allocations: 156.3 kB / 350.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003926/0.04826, allocations: 2.071 MB / 352.4 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.739e-05/0.04831, allocations: 7.953 kB / 352.4 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.04849, allocations: 60 kB / 352.4 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.0486, allocations: 78.92 kB / 352.5 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.05167, allocations: 1.585 MB / 354.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.06211, allocations: 5.444 MB / 359.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.0637, allocations: 0.7135 MB / 360.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.06479, allocations: 0.5448 MB / 360.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.06499, allocations: 44.56 kB / 360.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.06503, allocations: 43.22 kB / 360.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=65): time 2.574e-06/0.06503, allocations: 0 / 360.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of matching and sorting (n=85): time 0.01451/0.07954, allocations: 5.462 MB / 366.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.0796, allocations: 64.41 kB / 366.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.08109, allocations: 0.9922 MB / 367.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.961e-05/0.08117, allocations: 37.7 kB / 367.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006479/0.08182, allocations: 0.808 MB / 368.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.08211, allocations: 321.2 kB / 368.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.08247, allocations: 214.8 kB / 368.8 MB, free: 8.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.08265, allocations: 349.9 kB / 369.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008889/0.08354, allocations: 0.5413 MB / 369.7 MB, free: 7.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.08476, allocations: 0.8837 MB / 370.5 MB, free: 6.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.08697, allocations: 1.524 MB / 372.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.08698, allocations: 4 kB / 372.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003747/0.09073, allocations: 2.028 MB / 374.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.09075, allocations: 8 kB / 374.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.09077, allocations: 15.94 kB / 374.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.09233, allocations: 0.5516 MB / 374.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/0.09322, allocations: 243.6 kB / 374.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009496/0.1027, allocations: 8.1 MB / 383 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.1038, allocations: 72 kB / 383.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.1039, allocations: 51.92 kB / 383.1 MB, free: 9.641 MB / 350.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.0009981/0.1049, allocations: 0.5235 MB / 383.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.1052, allocations: 115.3 kB / 383.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/0.1086, allocations: 1.746 MB / 385.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.1086, allocations: 8 kB / 385.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.1086, allocations: 8 kB / 385.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.1086, allocations: 7.922 kB / 385.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006538/0.1152, allocations: 3.324 MB / 388.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.1152, allocations: 7.984 kB / 388.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.1158, allocations: 127.8 kB / 389 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/0.1175, allocations: 0.5809 MB / 389.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/0.1176, allocations: 31.92 kB / 389.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009315/0.1269, allocations: 7.269 MB / 396.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.1269, allocations: 7.938 kB / 396.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004376/0.1313, allocations: 2.46 MB / 399.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006668/0.132, allocations: 219.2 kB / 399.6 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.1321, allocations: 23.98 kB / 399.6 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/0.1328, allocations: 59.88 kB / 399.6 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.133, allocations: 68.52 kB / 399.7 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/0.133, allocations: 24.09 kB / 399.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001127/0.1342, allocations: 0.676 MB / 400.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1342, allocations: 0 / 400.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001373/0.1355, allocations: 379.9 kB / 400.8 MB, free: 7.508 MB / 366.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.0003653/0.1359, allocations: 163.1 kB / 400.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003806/0.1397, allocations: 1.936 MB / 402.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.1397, allocations: 0 / 402.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.142, allocations: 1.182 MB / 404.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.1437, allocations: 310 kB / 404.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/0.149, allocations: 3.157 MB / 407.5 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.1501, allocations: 0.8782 MB / 408.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007064/0.1508, allocations: 245.8 kB / 408.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.151, allocations: 84.44 kB / 408.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.151, allocations: 0 / 408.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of Templates: time 0.03789/0.1889, allocations: 20.53 MB / 429.2 MB, free: 11.1 MB / 398.1 MB " [Timeout remaining time 660] 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.191798809915781] 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.19754045456647873 0.214209591 0.174442742 Calling exit ...