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.001365/0.001365, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001438/0.001438, allocations: 165.4 kB / 24.5 MB, free: 3.453 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.541/1.541, allocations: 177.1 MB / 204.7 MB, free: 8.887 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 0.002017/0.002017, allocations: 57.8 kB / 325.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1107, allocations: 53.4 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01709/0.1278, allocations: 7.288 MB / 386.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009112/0.1369, allocations: 2.579 MB / 388.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.1384, allocations: 47.69 kB / 388.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.1418, allocations: 0.5863 MB / 389.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.1455, allocations: 0.6796 MB / 390.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1469, allocations: 287.6 kB / 390.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004855/0.1517, allocations: 2.035 MB / 392.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002524/0.1543, allocations: 0.7963 MB / 393.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002597/0.1569, allocations: 0.9227 MB / 394.1 MB, free: 156 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003107/0.16, allocations: 1.015 MB / 395.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009077/0.1609, allocations: 228 kB / 395.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.1624, allocations: 315.8 kB / 395.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.1639, allocations: 0.6427 MB / 396.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002416/0.1663, allocations: 0.8363 MB / 397.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006362/0.1727, allocations: 3.024 MB / 400.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.1727, allocations: 0 / 400.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1727, allocations: 0 / 400.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.507e-05/0.1728, allocations: 0 / 400.2 MB, free: 10.08 MB / 366.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.007211/0.18, allocations: 2.111 MB / 402.3 MB, free: 7.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.18, allocations: 15.98 kB / 402.3 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.1811, allocations: 223.7 kB / 402.5 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/0.184, allocations: 1.066 MB / 403.6 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.1841, allocations: 115.4 kB / 403.7 MB, free: 6.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.1845, allocations: 159.9 kB / 403.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00426/0.1888, allocations: 2.067 MB / 405.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.569e-05/0.1889, allocations: 7.953 kB / 405.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/0.1891, allocations: 63.94 kB / 406 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.1892, allocations: 74.91 kB / 406.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003092/0.1923, allocations: 1.581 MB / 407.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.203, allocations: 5.459 MB / 413.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.2045, allocations: 0.725 MB / 413.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.2056, allocations: 0.5451 MB / 414.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.2058, allocations: 40.62 kB / 414.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.2059, allocations: 47.14 kB / 414.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 3.376e-06/0.2059, allocations: 0 / 414.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.01417/0.22, allocations: 5.459 MB / 419.9 MB, free: 5.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.2201, allocations: 68.33 kB / 420 MB, free: 5.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.2219, allocations: 0.9922 MB / 421 MB, free: 4.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.451e-05/0.222, allocations: 41.7 kB / 421 MB, free: 4.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006689/0.2227, allocations: 0.8079 MB / 421.8 MB, free: 3.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.223, allocations: 317.3 kB / 422.2 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/0.2234, allocations: 206.9 kB / 422.4 MB, free: 3.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.2236, allocations: 349.9 kB / 422.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00087/0.2244, allocations: 0.5452 MB / 423.2 MB, free: 2.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.2256, allocations: 0.8837 MB / 424.1 MB, free: 1.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.2279, allocations: 1.52 MB / 425.6 MB, free: 15.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.2279, allocations: 4 kB / 425.7 MB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003701/0.2316, allocations: 2.032 MB / 427.7 MB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.2316, allocations: 8 kB / 427.7 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.633e-05/0.2316, allocations: 12 kB / 427.7 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.2332, allocations: 0.5593 MB / 428.3 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008712/0.234, allocations: 239.6 kB / 428.5 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009278/0.2433, allocations: 8.101 MB / 436.6 MB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.2443, allocations: 76.08 kB / 436.7 MB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.2445, allocations: 44 kB / 436.7 MB, free: 4.332 MB / 398.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.0009783/0.2455, allocations: 0.517 MB / 437.2 MB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.2458, allocations: 127.1 kB / 437.4 MB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/0.249, allocations: 1.75 MB / 439.1 MB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.249, allocations: 8 kB / 439.1 MB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.249, allocations: 4 kB / 439.1 MB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.249, allocations: 3.984 kB / 439.1 MB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007123/0.2561, allocations: 3.336 MB / 442.5 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.2561, allocations: 4 kB / 442.5 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.2567, allocations: 119.9 kB / 442.6 MB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/0.2583, allocations: 0.5888 MB / 443.2 MB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.302e-05/0.2584, allocations: 27.98 kB / 443.2 MB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009123/0.2675, allocations: 7.262 MB / 450.5 MB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.2675, allocations: 11.92 kB / 450.5 MB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/0.272, allocations: 2.468 MB / 452.9 MB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/0.2727, allocations: 223.2 kB / 453.2 MB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.273, allocations: 23.98 kB / 453.2 MB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.2739, allocations: 51.94 kB / 453.2 MB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.2741, allocations: 72.52 kB / 453.3 MB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/0.2741, allocations: 24 kB / 453.3 MB, free: 3.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001318/0.2754, allocations: 0.6684 MB / 454 MB, free: 2.566 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2754, allocations: 0 / 454 MB, free: 2.566 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001669/0.2771, allocations: 375.9 kB / 454.4 MB, free: 2.199 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.0005098/0.2776, allocations: 179.7 kB / 454.5 MB, free: 2.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004036/0.2817, allocations: 1.933 MB / 456.5 MB, free: 32 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.2817, allocations: 0 / 456.5 MB, free: 32 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.284, allocations: 1.2 MB / 457.7 MB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.2861, allocations: 313.8 kB / 458 MB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006434/0.2925, allocations: 3.311 MB / 461.3 MB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.2941, allocations: 0.886 MB / 462.2 MB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008578/0.295, allocations: 237.9 kB / 462.4 MB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.2953, allocations: 80.48 kB / 462.5 MB, free: 9.891 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2953, allocations: 0 / 462.5 MB, free: 9.891 MB / 430.1 MB Notification: Performance of Templates: time 0.219/0.5143, allocations: 20.65 MB / 483.1 MB, free: 81.16 MB / 430.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 -s ida -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.4376328201033175] 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.523330615949817 0.532973303 0.35754320900000003 Calling exit ...