Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 187.5 kB / 23.7 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.7 MB / 252.5 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 47.92 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3158, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01088/0.3267, allocations: 7.267 MB / 430.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005968/0.3326, allocations: 2.532 MB / 432.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.3338, allocations: 51.62 kB / 432.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.3357, allocations: 0.5939 MB / 433.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.3377, allocations: 0.6601 MB / 434.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.3384, allocations: 295.6 kB / 434.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00267/0.341, allocations: 2.035 MB / 436.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.3423, allocations: 0.7924 MB / 437.3 MB, free: 172 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.344, allocations: 0.9071 MB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.3457, allocations: 1.012 MB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.346, allocations: 228 kB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007194/0.3467, allocations: 315.8 kB / 439.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000756/0.3475, allocations: 0.6427 MB / 440.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.3486, allocations: 0.8324 MB / 441.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.3523, allocations: 3.021 MB / 444.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3523, allocations: 0 / 444.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3523, allocations: 0 / 444.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.167e-05/0.3524, allocations: 4 kB / 444.2 MB, free: 9.195 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.004542/0.3569, allocations: 2.095 MB / 446.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3569, allocations: 12.03 kB / 446.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006583/0.3576, allocations: 223.7 kB / 446.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.3598, allocations: 1.074 MB / 447.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-05/0.3599, allocations: 111.4 kB / 447.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/0.3602, allocations: 168 kB / 447.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/0.3637, allocations: 2.055 MB / 450 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/0.3638, allocations: 11.94 kB / 450 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.3639, allocations: 60 kB / 450 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.831e-05/0.364, allocations: 74.92 kB / 450.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/0.3669, allocations: 1.585 MB / 451.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/0.3777, allocations: 5.448 MB / 457.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.3791, allocations: 0.7217 MB / 457.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.3801, allocations: 0.5421 MB / 458.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.3803, allocations: 36.62 kB / 458.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.3804, allocations: 47.16 kB / 458.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.126e-06/0.3804, allocations: 0 / 458.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01447/0.3949, allocations: 5.466 MB / 464 MB, free: 5.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.3949, allocations: 60.41 kB / 464 MB, free: 4.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.3966, allocations: 0.9995 MB / 465 MB, free: 3.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-05/0.3967, allocations: 41.7 kB / 465.1 MB, free: 3.926 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/0.3974, allocations: 0.8041 MB / 465.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/0.3977, allocations: 313.3 kB / 466.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/0.398, allocations: 210.9 kB / 466.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.3982, allocations: 345.9 kB / 466.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008504/0.3991, allocations: 0.5452 MB / 467.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.4003, allocations: 0.8796 MB / 468.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.4024, allocations: 1.528 MB / 469.7 MB, free: 15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.4024, allocations: 0 / 469.7 MB, free: 15 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003768/0.4062, allocations: 2.032 MB / 471.7 MB, free: 12.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.4062, allocations: 12 kB / 471.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.4062, allocations: 8 kB / 471.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.4078, allocations: 0.5594 MB / 472.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009173/0.4087, allocations: 243.5 kB / 472.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.4188, allocations: 8.103 MB / 480.6 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.4201, allocations: 71.88 kB / 480.7 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/0.4203, allocations: 48.16 kB / 480.7 MB, free: 3.48 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.001231/0.4215, allocations: 0.5208 MB / 481.3 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000469/0.422, allocations: 115.4 kB / 481.4 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.4255, allocations: 1.75 MB / 483.1 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.4255, allocations: 15.98 kB / 483.1 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.4255, allocations: 7.938 kB / 483.1 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.4255, allocations: 4.078 kB / 483.1 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007836/0.4334, allocations: 3.32 MB / 486.5 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.4334, allocations: 3.938 kB / 486.5 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.434, allocations: 127.8 kB / 486.6 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/0.4357, allocations: 0.5951 MB / 487.2 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.4358, allocations: 27.98 kB / 487.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009455/0.4452, allocations: 7.266 MB / 494.5 MB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.4453, allocations: 7.938 kB / 494.5 MB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004411/0.4497, allocations: 2.456 MB / 496.9 MB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/0.4505, allocations: 223.2 kB / 497.2 MB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/0.4509, allocations: 23.98 kB / 497.2 MB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008257/0.4517, allocations: 51.94 kB / 497.2 MB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.4519, allocations: 72.45 kB / 497.3 MB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-05/0.452, allocations: 27.94 kB / 497.3 MB, free: 2.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001496/0.4535, allocations: 0.6643 MB / 498 MB, free: 1.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4535, allocations: 4 kB / 498 MB, free: 1.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001837/0.4553, allocations: 376 kB / 498.4 MB, free: 1.355 MB / 398.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.0004488/0.4558, allocations: 186.9 kB / 498.6 MB, free: 1.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003734/0.4595, allocations: 1.924 MB / 0.4887 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4595, allocations: 0 / 0.4887 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002347/0.4619, allocations: 1.194 MB / 0.4899 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.4641, allocations: 303 kB / 0.4902 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007168/0.4712, allocations: 3.317 MB / 0.4934 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.4728, allocations: 0.8821 MB / 0.4943 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009637/0.4738, allocations: 241.9 kB / 0.4945 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.4741, allocations: 75.42 kB / 0.4946 GB, free: 9.055 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4741, allocations: 0 / 0.4946 GB, free: 9.055 MB / 414.1 MB Notification: Performance of Templates: time 0.04305/0.5172, allocations: 22.49 MB / 0.5166 GB, free: 2.898 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.412197628989816] 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.5279297176748514 0.548780035 0.192809752 Calling exit ...