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.001777/0.001777, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002613/0.002613, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.642/1.642, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001563/0.001563, allocations: 47.92 kB / 373.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09755, allocations: 53.32 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.2053/0.3028, allocations: 8.248 MB / 435.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.307, allocations: 2.748 MB / 437.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008704/0.3079, allocations: 55.16 kB / 437.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.3096, allocations: 0.6483 MB / 438.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.3115, allocations: 0.6688 MB / 439.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007128/0.3122, allocations: 290.1 kB / 439.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002751/0.3149, allocations: 2.039 MB / 441.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.3162, allocations: 1.027 MB / 442.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.3178, allocations: 0.9168 MB / 443.4 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.3194, allocations: 1.101 MB / 444.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000343/0.3198, allocations: 226.7 kB / 444.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000733/0.3205, allocations: 317.8 kB / 445.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006143/0.3211, allocations: 0.6341 MB / 445.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000958/0.3221, allocations: 1.037 MB / 446.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.3254, allocations: 3.002 MB / 449.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3254, allocations: 0 / 449.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3254, allocations: 1.438 kB / 449.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.426e-05/0.3255, allocations: 0 / 449.7 MB, free: 0.5234 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.004575/0.3301, allocations: 2.189 MB / 451.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3301, allocations: 10.77 kB / 451.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006797/0.3308, allocations: 226.8 kB / 452.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.3328, allocations: 1.15 MB / 453.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/0.3329, allocations: 111.1 kB / 453.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.3332, allocations: 157.5 kB / 453.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.3366, allocations: 1.954 MB / 455.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.3367, allocations: 14.48 kB / 455.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.3368, allocations: 61.45 kB / 455.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.661e-05/0.3369, allocations: 80.34 kB / 455.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.3397, allocations: 1.585 MB / 457.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.3506, allocations: 6.292 MB / 463.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.3521, allocations: 0.7968 MB / 464.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.3532, allocations: 0.5439 MB / 464.9 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.3534, allocations: 124.8 kB / 465 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3535, allocations: 38.34 kB / 465.1 MB, free: 6.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.595e-06/0.3535, allocations: 0 / 465.1 MB, free: 6.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01481/0.3683, allocations: 5.847 MB / 470.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.3683, allocations: 68.64 kB / 471 MB, free: 3.391 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.3701, allocations: 1.149 MB / 472.1 MB, free: 2.723 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-05/0.3702, allocations: 41.7 kB / 472.2 MB, free: 2.676 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000684/0.3709, allocations: 0.7925 MB / 473 MB, free: 1.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.3712, allocations: 317.3 kB / 473.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.3716, allocations: 210.8 kB / 473.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3718, allocations: 353.9 kB / 473.8 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008923/0.3726, allocations: 0.5413 MB / 474.4 MB, free: 468 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.3739, allocations: 0.8835 MB / 475.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.3761, allocations: 1.52 MB / 476.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.3761, allocations: 4 kB / 476.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003937/0.3801, allocations: 2.048 MB / 478.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.3801, allocations: 12 kB / 478.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.3801, allocations: 9 kB / 478.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.3817, allocations: 0.5476 MB / 479.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/0.3827, allocations: 239.6 kB / 479.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.393, allocations: 8.664 MB / 488.3 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.3943, allocations: 71.89 kB / 488.4 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.3944, allocations: 48 kB / 488.4 MB, free: 1.527 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.0009808/0.3954, allocations: 0.517 MB / 488.9 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.3957, allocations: 127.2 kB / 489 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/0.3992, allocations: 1.762 MB / 490.8 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.3992, allocations: 8 kB / 490.8 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3992, allocations: 4 kB / 490.8 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3992, allocations: 3.984 kB / 490.8 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007155/0.4064, allocations: 3.733 MB / 494.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.4064, allocations: 3.984 kB / 494.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/0.407, allocations: 132 kB / 494.7 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/0.4087, allocations: 0.5864 MB / 495.3 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/0.4088, allocations: 31.86 kB / 495.3 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009963/0.4188, allocations: 7.724 MB / 0.4912 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4188, allocations: 0 / 0.4912 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/0.4233, allocations: 2.473 MB / 0.4937 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007675/0.4241, allocations: 324.1 kB / 0.494 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.4243, allocations: 20 kB / 0.494 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/0.425, allocations: 55.94 kB / 0.494 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.4252, allocations: 64.5 kB / 0.4941 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/0.4253, allocations: 31.98 kB / 0.4941 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001404/0.4267, allocations: 0.7856 MB / 0.4949 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4267, allocations: 4 kB / 0.4949 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001611/0.4283, allocations: 379.9 kB / 0.4953 GB, free: 14.17 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.0004235/0.4287, allocations: 182.3 kB / 0.4954 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003811/0.4325, allocations: 2.076 MB / 0.4975 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.4325, allocations: 4.688 kB / 0.4975 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.4349, allocations: 1.259 MB / 0.4987 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.001898/0.4368, allocations: 384.5 kB / 0.4991 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/0.4426, allocations: 3.336 MB / 0.5023 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/0.4439, allocations: 1.456 MB / 0.5037 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008214/0.4447, allocations: 267 kB / 0.504 GB, free: 4.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.445, allocations: 79.44 kB / 0.5041 GB, free: 4.914 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.445, allocations: 0 / 0.5041 GB, free: 4.914 MB / 414.1 MB Notification: Performance of Templates: time 0.04318/0.4882, allocations: 22.27 MB / 0.5258 GB, free: 14.86 MB / 446.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.627855900675058] 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.49833524227142334 0.511988501 0.183496991 Calling exit ...