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.00175/0.00175, allocations: 111.5 kB / 18.45 MB, free: 4.605 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.002165/0.002165, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.563/1.563, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+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 0.001645/0.001645, allocations: 47.92 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1056, allocations: 53.33 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.2016/0.3072, allocations: 8.251 MB / 435.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0049/0.3121, allocations: 2.75 MB / 438.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.3135, allocations: 49.84 kB / 438.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.3158, allocations: 0.6449 MB / 439.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.3183, allocations: 0.6719 MB / 439.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.3194, allocations: 289.2 kB / 440.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003157/0.3225, allocations: 2.035 MB / 442.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.3244, allocations: 1.034 MB / 443.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.3263, allocations: 0.9141 MB / 444.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/0.3285, allocations: 1.099 MB / 445.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008423/0.3294, allocations: 227.2 kB / 445.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.3308, allocations: 322.5 kB / 445.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.3319, allocations: 0.6294 MB / 446.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002524/0.3345, allocations: 1.038 MB / 447.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00514/0.3396, allocations: 3.006 MB / 450.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3396, allocations: 1 kB / 450.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3396, allocations: 0 / 450.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001229/0.3397, allocations: 0 / 450.4 MB, free: 0.5156 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.006784/0.3465, allocations: 2.191 MB / 452.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3466, allocations: 9.656 kB / 452.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.3477, allocations: 221.8 kB / 452.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.3505, allocations: 1.147 MB / 454 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.3507, allocations: 117 kB / 454.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004934/0.3511, allocations: 155.5 kB / 454.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004974/0.3561, allocations: 1.958 MB / 456.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.868e-05/0.3562, allocations: 10.89 kB / 456.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/0.3565, allocations: 61.53 kB / 456.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.3566, allocations: 78.36 kB / 456.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/0.3601, allocations: 1.591 MB / 458 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.3731, allocations: 6.285 MB / 464.2 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.3747, allocations: 0.8014 MB / 465.1 MB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.3758, allocations: 0.5355 MB / 465.6 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.3761, allocations: 119 kB / 465.7 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.3761, allocations: 38.53 kB / 465.7 MB, free: 6.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.585e-06/0.3761, allocations: 0 / 465.7 MB, free: 6.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01475/0.3909, allocations: 5.855 MB / 471.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3909, allocations: 61.03 kB / 471.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.3932, allocations: 1.154 MB / 472.8 MB, free: 2.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.3933, allocations: 49.69 kB / 472.9 MB, free: 2.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006675/0.394, allocations: 0.7847 MB / 473.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.3943, allocations: 317.3 kB / 474 MB, free: 1.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004015/0.3947, allocations: 210.9 kB / 474.2 MB, free: 1.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3949, allocations: 353.9 kB / 474.5 MB, free: 1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008617/0.3958, allocations: 0.5413 MB / 475 MB, free: 472 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3969, allocations: 0.8835 MB / 475.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.399, allocations: 1.527 MB / 477.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.399, allocations: 4 kB / 477.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003775/0.4028, allocations: 2.036 MB / 479.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.4028, allocations: 12.25 kB / 479.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.4028, allocations: 12.62 kB / 479.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/0.4044, allocations: 0.5513 MB / 480.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/0.4054, allocations: 243.6 kB / 480.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009706/0.4151, allocations: 8.652 MB / 489 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.4163, allocations: 71.92 kB / 489 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.4165, allocations: 44 kB / 489.1 MB, free: 1.535 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.001058/0.4175, allocations: 0.5247 MB / 489.6 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/0.4179, allocations: 132 kB / 489.7 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.4213, allocations: 1.755 MB / 491.5 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.4214, allocations: 11.94 kB / 491.5 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.4214, allocations: 4 kB / 491.5 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4214, allocations: 7.969 kB / 491.5 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00747/0.4288, allocations: 3.735 MB / 495.2 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.4289, allocations: 6.062 kB / 495.2 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.4294, allocations: 119.9 kB / 495.4 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.4312, allocations: 0.6062 MB / 496 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-05/0.4313, allocations: 23.98 kB / 496 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009317/0.4406, allocations: 7.702 MB / 0.4919 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.4406, allocations: 8 kB / 0.4919 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004334/0.445, allocations: 2.48 MB / 0.4943 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008114/0.4458, allocations: 320.3 kB / 0.4946 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/0.4461, allocations: 23.98 kB / 0.4946 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008237/0.4469, allocations: 55.94 kB / 0.4947 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.4471, allocations: 72.38 kB / 0.4948 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/0.4472, allocations: 24 kB / 0.4948 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.4486, allocations: 0.7934 MB / 0.4956 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4486, allocations: 0 / 0.4956 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001711/0.4503, allocations: 376 kB / 0.4959 GB, free: 14.18 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.000446/0.4507, allocations: 180.4 kB / 0.4961 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003795/0.4545, allocations: 2.076 MB / 0.4981 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.4545, allocations: 0 / 0.4981 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002274/0.4568, allocations: 1.264 MB / 0.4994 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.459, allocations: 381.3 kB / 0.4997 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/0.4654, allocations: 3.39 MB / 0.503 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/0.4668, allocations: 1.452 MB / 0.5045 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.4672, allocations: 87.44 kB / 0.5045 GB, free: 5.133 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4672, allocations: 0 / 0.5045 GB, free: 5.133 MB / 414.1 MB Notification: Performance of Templates: time 0.07246/0.5397, allocations: 59.49 MB / 0.5626 GB, free: 9.668 MB / 478.1 MB " [Timeout remaining time 659] 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: 12.857478120015003] 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.5498477910005022 0.563499583 0.220516817 Calling exit ...