Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 85.56 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00268/0.00268, allocations: 162.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.387e-05, allocations: 9.234 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01057/0.0106, allocations: 7.313 MB / 332.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007837/0.01843, allocations: 2.586 MB / 335 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.02029, allocations: 49.47 kB / 335 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.02279, allocations: 0.5986 MB / 335.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.02578, allocations: 0.6944 MB / 336.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.02686, allocations: 297 kB / 336.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003431/0.03029, allocations: 2.115 MB / 338.7 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.03165, allocations: 0.7952 MB / 339.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.03416, allocations: 1.326 MB / 340.8 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.03558, allocations: 0.9117 MB / 341.8 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003355/0.03591, allocations: 228 kB / 342 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006679/0.03658, allocations: 319.8 kB / 342.3 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007548/0.03734, allocations: 0.6583 MB / 343 MB, free: 3.168 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009696/0.03831, allocations: 0.7094 MB / 343.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.04188, allocations: 3.038 MB / 346.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.04189, allocations: 0 / 346.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.04189, allocations: 0 / 346.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.524e-05/0.04193, allocations: 0 / 346.7 MB, free: 15.41 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.00426/0.04619, allocations: 2.087 MB / 348.8 MB, free: 13.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.04624, allocations: 15.97 kB / 348.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006557/0.0469, allocations: 227.7 kB / 349 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.04899, allocations: 1.069 MB / 350.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.04911, allocations: 119.4 kB / 350.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/0.04937, allocations: 156.3 kB / 350.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003504/0.05287, allocations: 2.059 MB / 352.4 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.516e-05/0.05293, allocations: 11.95 kB / 352.4 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.05308, allocations: 56 kB / 352.5 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.05318, allocations: 78.91 kB / 352.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.05596, allocations: 1.581 MB / 354.1 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009519/0.06548, allocations: 5.448 MB / 359.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.06692, allocations: 0.7281 MB / 360.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.06799, allocations: 0.542 MB / 360.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.06819, allocations: 44.61 kB / 360.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.06823, allocations: 43.2 kB / 360.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=65): time 2.645e-06/0.06823, allocations: 0 / 360.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of matching and sorting (n=85): time 0.01449/0.08272, allocations: 5.455 MB / 366.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.08279, allocations: 64.34 kB / 366.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.08445, allocations: 0.9961 MB / 367.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-05/0.08454, allocations: 41.7 kB / 367.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007374/0.08528, allocations: 0.808 MB / 368.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.08561, allocations: 317.3 kB / 368.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.08597, allocations: 202.9 kB / 368.8 MB, free: 8.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.08616, allocations: 361.9 kB / 369.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008535/0.08702, allocations: 0.5413 MB / 369.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.08815, allocations: 0.8837 MB / 370.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/0.09044, allocations: 1.516 MB / 372.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.09045, allocations: 8 kB / 372.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003962/0.09441, allocations: 2.036 MB / 374.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.09444, allocations: 8 kB / 374.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.09447, allocations: 12 kB / 374.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.09614, allocations: 0.5439 MB / 374.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009746/0.09712, allocations: 243.6 kB / 375 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.1075, allocations: 8.1 MB / 383.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.1088, allocations: 79.97 kB / 383.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.109, allocations: 44 kB / 383.2 MB, free: 9.711 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.001358/0.1104, allocations: 0.5169 MB / 383.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004425/0.1108, allocations: 115.3 kB / 383.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/0.1145, allocations: 1.753 MB / 385.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.1145, allocations: 8 kB / 385.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.1145, allocations: 4 kB / 385.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.1145, allocations: 11.92 kB / 385.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007066/0.1216, allocations: 3.32 MB / 388.9 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.1216, allocations: 0 / 388.9 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.1222, allocations: 127.9 kB / 389 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/0.1241, allocations: 0.5957 MB / 389.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-05/0.1242, allocations: 27.92 kB / 389.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00958/0.1337, allocations: 7.275 MB / 396.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1337, allocations: 4 kB / 396.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004628/0.1384, allocations: 2.456 MB / 399.4 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000783/0.1392, allocations: 227.2 kB / 399.6 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.1394, allocations: 20 kB / 399.6 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007919/0.1402, allocations: 55.88 kB / 399.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.1404, allocations: 72.45 kB / 399.8 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.961e-05/0.1405, allocations: 31.98 kB / 399.8 MB, free: 8.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001449/0.1419, allocations: 0.6645 MB / 400.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1419, allocations: 0 / 400.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001709/0.1437, allocations: 379.9 kB / 400.8 MB, free: 7.578 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.00054/0.1442, allocations: 171.1 kB / 401 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003925/0.1481, allocations: 1.925 MB / 402.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1481, allocations: 0 / 402.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002326/0.1505, allocations: 1.189 MB / 404.1 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.1522, allocations: 319.8 kB / 404.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006367/0.1586, allocations: 3.152 MB / 407.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/0.1599, allocations: 0.8821 MB / 408.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000748/0.1607, allocations: 245.8 kB / 408.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.1609, allocations: 80.42 kB / 408.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1609, allocations: 4 kB / 408.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of Templates: time 0.04335/0.2043, allocations: 20.53 MB / 429.3 MB, free: 11.18 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.12287936732173] 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.2140231803059578 0.23053615400000002 0.185174832 Calling exit ...