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_Inverter.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.00174/0.00174, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.002085/0.002085, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.421/1.421, allocations: 230.4 MB / 258.1 MB, free: 8.133 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [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.002551/0.002551, allocations: 67.81 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2316, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01131/0.2429, allocations: 8.962 MB / 441 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005219/0.2481, allocations: 2.902 MB / 443.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007518/0.2489, allocations: 43.81 kB / 444 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.2504, allocations: 0.6445 MB / 444.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.2521, allocations: 0.7379 MB / 445.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.2528, allocations: 335.5 kB / 445.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.2553, allocations: 2.233 MB / 447.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.2567, allocations: 1.024 MB / 448.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.2581, allocations: 1.04 MB / 450 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.2598, allocations: 1.316 MB / 451.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003382/0.2602, allocations: 268 kB / 451.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006183/0.2608, allocations: 363.8 kB / 451.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007898/0.2616, allocations: 0.7674 MB / 452.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.2628, allocations: 1.221 MB / 453.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003673/0.2665, allocations: 3.546 MB / 457.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2665, allocations: 0 / 457.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2665, allocations: 0 / 457.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.557e-05/0.2665, allocations: 0 / 457.4 MB, free: 13.84 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004809/0.2713, allocations: 2.549 MB / 460 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2714, allocations: 8.031 kB / 460 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006826/0.272, allocations: 267.4 kB / 460.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.2744, allocations: 1.31 MB / 461.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.2745, allocations: 143.9 kB / 461.7 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/0.2748, allocations: 179.9 kB / 461.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003861/0.2787, allocations: 2.378 MB / 464.3 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.064e-05/0.2787, allocations: 3.953 kB / 464.3 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.2789, allocations: 79.98 kB / 464.4 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.279, allocations: 95.5 kB / 464.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/0.2825, allocations: 1.966 MB / 466.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.2939, allocations: 7.072 MB / 473.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.2958, allocations: 1.226 MB / 474.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.2974, allocations: 0.8117 MB / 475.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.2976, allocations: 122.1 kB / 475.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.2977, allocations: 44.03 kB / 475.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.796e-06/0.2977, allocations: 0 / 475.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01437/0.312, allocations: 6.112 MB / 481.8 MB, free: 4.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.3121, allocations: 64.34 kB / 481.9 MB, free: 4.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.314, allocations: 1.215 MB / 483.1 MB, free: 3.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.3141, allocations: 41.7 kB / 483.1 MB, free: 3.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007321/0.3148, allocations: 0.8909 MB / 484 MB, free: 2.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003725/0.3152, allocations: 392.6 kB / 484.4 MB, free: 2.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.3156, allocations: 218.9 kB / 484.6 MB, free: 2.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3158, allocations: 357.9 kB / 485 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.3169, allocations: 0.6194 MB / 485.6 MB, free: 1.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.3182, allocations: 0.9188 MB / 486.5 MB, free: 28 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.3207, allocations: 1.639 MB / 488.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3207, allocations: 0 / 488.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00409/0.3248, allocations: 2.224 MB / 490.4 MB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.3248, allocations: 14.97 kB / 490.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.3249, allocations: 8 kB / 490.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.326, allocations: 476.2 kB / 490.8 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.3271, allocations: 267.6 kB / 491.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007897/0.335, allocations: 7.037 MB / 498.1 MB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.3361, allocations: 83.84 kB / 498.2 MB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.3362, allocations: 48 kB / 498.3 MB, free: 3.652 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.3372, allocations: 0.5984 MB / 498.9 MB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.3375, allocations: 147 kB / 499 MB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.3411, allocations: 2.02 MB / 0.4893 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.3411, allocations: 3.984 kB / 0.4893 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3411, allocations: 0 / 0.4893 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000678/0.3418, allocations: 356.1 kB / 0.4896 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.342, allocations: 20 kB / 0.4896 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007563/0.3427, allocations: 87.83 kB / 0.4897 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.3429, allocations: 84.86 kB / 0.4898 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004442/0.3473, allocations: 2.059 MB / 0.4918 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00363/0.351, allocations: 2.424 MB / 0.4942 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009998/0.352, allocations: 0.6324 MB / 0.4948 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.3532, allocations: 0.8422 MB / 0.4956 GB, free: 10.28 MB / 414.1 MB Notification: Performance of Backend: time 1.71e-07/0.3532, allocations: 4 kB / 0.4956 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.3564, allocations: 1.677 MB / 0.4973 GB, free: 8.512 MB / 414.1 MB Notification: Performance of SimCode: time 0.006606/0.363, allocations: 4.304 MB / 0.5015 GB, free: 4.145 MB / 414.1 MB Notification: Performance of Templates: time 0.04045/0.4035, allocations: 24.72 MB / 0.5256 GB, free: 11.66 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.107975893188268] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w', 'vfController.x'] 0.4129912373609841 0.585031426 0.314479541 Calling exit ...