Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006139/0.006139, allocations: 112 kB / 21.98 MB, free: 5.184 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.001513/0.001513, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 259 MB, free: 8.027 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.89 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2397, allocations: 53.36 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.0103/0.25, allocations: 8.29 MB / 441.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005406/0.2554, allocations: 2.765 MB / 444.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.2565, allocations: 51.69 kB / 444.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.2584, allocations: 0.6409 MB / 444.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.2602, allocations: 0.6757 MB / 445.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.2609, allocations: 287.6 kB / 445.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.2634, allocations: 2.043 MB / 447.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.2646, allocations: 0.8354 MB / 448.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.2659, allocations: 0.9149 MB / 449.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.2674, allocations: 1.094 MB / 450.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.2677, allocations: 228 kB / 451 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005835/0.2683, allocations: 327.8 kB / 451.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006451/0.269, allocations: 0.6389 MB / 452 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.2701, allocations: 1.034 MB / 453 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003451/0.2735, allocations: 3.01 MB / 456 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2735, allocations: 0 / 456 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2735, allocations: 0 / 456 MB, free: 44 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.841e-05/0.2736, allocations: 4 kB / 456 MB, free: 40 kB / 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.004209/0.2778, allocations: 2.107 MB / 458.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2778, allocations: 8.031 kB / 458.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006222/0.2785, allocations: 227.6 kB / 458.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.2804, allocations: 1.07 MB / 459.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.693e-05/0.2805, allocations: 115.4 kB / 459.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.2808, allocations: 159.9 kB / 459.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003195/0.284, allocations: 1.959 MB / 461.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-05/0.284, allocations: 3.953 kB / 461.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.2841, allocations: 64 kB / 461.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-05/0.2842, allocations: 78.91 kB / 461.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.2869, allocations: 1.585 MB / 463.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009582/0.2964, allocations: 6.175 MB / 469.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.2978, allocations: 0.737 MB / 470.3 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009817/0.2988, allocations: 0.5459 MB / 470.8 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.299, allocations: 40.61 kB / 470.9 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.2991, allocations: 35.22 kB / 470.9 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.775e-06/0.2991, allocations: 7.938 kB / 470.9 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01313/0.3122, allocations: 5.481 MB / 476.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.3122, allocations: 64.41 kB / 476.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.314, allocations: 1.149 MB / 477.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.083e-05/0.3141, allocations: 41.7 kB / 477.6 MB, free: 9.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006213/0.3147, allocations: 0.7886 MB / 478.4 MB, free: 9.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.315, allocations: 321.3 kB / 478.7 MB, free: 8.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/0.3153, allocations: 210.9 kB / 478.9 MB, free: 8.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3155, allocations: 353.9 kB / 479.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/0.3163, allocations: 0.5413 MB / 479.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3174, allocations: 0.8796 MB / 480.7 MB, free: 6.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.3194, allocations: 1.524 MB / 482.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.3194, allocations: 4 kB / 482.2 MB, free: 5.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003634/0.3231, allocations: 2.048 MB / 484.3 MB, free: 2.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.3231, allocations: 8 kB / 484.3 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.3231, allocations: 15.94 kB / 484.3 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.3246, allocations: 0.5555 MB / 484.9 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/0.3254, allocations: 243.6 kB / 485.1 MB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008997/0.3344, allocations: 8.238 MB / 493.3 MB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.3355, allocations: 83.97 kB / 493.4 MB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/0.3356, allocations: 44 kB / 493.5 MB, free: 9.312 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.0008462/0.3364, allocations: 0.5169 MB / 494 MB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.3366, allocations: 131.2 kB / 494.1 MB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.3397, allocations: 1.755 MB / 495.9 MB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.3397, allocations: 12 kB / 495.9 MB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3397, allocations: 7.938 kB / 495.9 MB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3398, allocations: 7.984 kB / 495.9 MB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006568/0.3463, allocations: 3.698 MB / 499.6 MB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3463, allocations: 0 / 499.6 MB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.3469, allocations: 123.9 kB / 499.7 MB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/0.3485, allocations: 0.5957 MB / 0.4886 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/0.3485, allocations: 23.98 kB / 0.4886 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008663/0.3572, allocations: 7.397 MB / 0.4958 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3572, allocations: 7.938 kB / 0.4958 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004047/0.3612, allocations: 2.477 MB / 0.4983 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007196/0.362, allocations: 247.1 kB / 0.4985 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.3621, allocations: 23.94 kB / 0.4985 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/0.3628, allocations: 51.94 kB / 0.4986 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.3629, allocations: 80.45 kB / 0.4986 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/0.363, allocations: 23.98 kB / 0.4987 GB, free: 7.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001214/0.3642, allocations: 0.7895 MB / 0.4994 GB, free: 6.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3642, allocations: 0 / 0.4994 GB, free: 6.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001332/0.3656, allocations: 375.9 kB / 0.4998 GB, free: 6.461 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.0003552/0.3659, allocations: 179 kB / 0.5 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003376/0.3693, allocations: 1.926 MB / 0.5018 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3693, allocations: 0 / 0.5018 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002091/0.3714, allocations: 1.192 MB / 0.503 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.3731, allocations: 378.8 kB / 0.5034 GB, free: 2.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/0.3787, allocations: 3.396 MB / 0.5067 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.3799, allocations: 1.452 MB / 0.5081 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.3802, allocations: 87.44 kB / 0.5082 GB, free: 13.68 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3802, allocations: 0 / 0.5082 GB, free: 13.68 MB / 430.1 MB Notification: Performance of Templates: time 0.251/0.6312, allocations: 59.52 MB / 0.5663 GB, free: 82.7 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.455600909888744] 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.6401135358028114 0.6581007369999999 0.380610575 Calling exit ...