Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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.001322/0.001322, allocations: 114 kB / 19.17 MB, free: 3.895 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.001535/0.001535, allocations: 208.9 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.2 MB / 255.1 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.89 kB / 374.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.105, allocations: 53.33 MB / 427.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2206/0.3256, allocations: 21.64 MB / 449.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.3377, allocations: 6.809 MB / 456.3 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005976/0.3436, allocations: 150.2 kB / 456.5 MB, free: 8.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01642/0.3601, allocations: 6.897 MB / 463.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009143/0.3692, allocations: 2.804 MB / 466.2 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.3731, allocations: 1.58 MB / 467.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01078/0.3839, allocations: 9.074 MB / 476.8 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02007/0.404, allocations: 13.24 MB / 490.1 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007741/0.4117, allocations: 4.657 MB / 494.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009927/0.4217, allocations: 5.222 MB / 499.9 MB, free: 3.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003415/0.4251, allocations: 1.355 MB / 0.4896 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005323/0.4304, allocations: 1.695 MB / 0.4912 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003686/0.4341, allocations: 2.624 MB / 0.4938 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008492/0.4426, allocations: 4.959 MB / 0.4986 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02179/0.4644, allocations: 18.26 MB / 0.5164 GB, free: 7.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4644, allocations: 0 / 0.5164 GB, free: 7.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4644, allocations: 0 / 0.5164 GB, free: 7.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003588/0.4647, allocations: 0 / 0.5164 GB, free: 7.098 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03156/0.4963, allocations: 10.74 MB / 0.5269 GB, free: 12.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4963, allocations: 8.031 kB / 0.5269 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03539/0.5317, allocations: 5.895 MB / 0.5327 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.5451, allocations: 5.746 MB / 0.5383 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006963/0.5458, allocations: 0.5618 MB / 0.5389 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003205/0.549, allocations: 0.7342 MB / 0.5396 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03041/0.5794, allocations: 12.89 MB / 0.5522 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002391/0.5796, allocations: 11.94 kB / 0.5522 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001882/0.5815, allocations: 312 kB / 0.5525 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005624/0.5821, allocations: 496.1 kB / 0.553 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02798/0.6101, allocations: 12.62 MB / 0.5653 GB, free: 4.836 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07477/0.6848, allocations: 41.55 MB / 0.6059 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0253/0.7101, allocations: 25.86 MB / 0.6311 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005506/0.7156, allocations: 2.93 MB / 0.634 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004753/0.7161, allocations: 265.3 kB / 0.6342 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.248e-05/0.7162, allocations: 81.78 kB / 0.6343 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=410): time 5.23e-06/0.7162, allocations: 0 / 0.6343 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=415): time 0.2589/0.9751, allocations: 17.09 MB / 0.651 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.9751, allocations: 94.28 kB / 0.6511 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004878/0.98, allocations: 2.84 MB / 0.6539 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006328/0.9806, allocations: 92.55 kB / 0.6539 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00199/0.9826, allocations: 3.141 MB / 0.657 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001542/0.9842, allocations: 1.469 MB / 0.6584 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/0.9857, allocations: 0.9528 MB / 0.6594 GB, free: 158 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.9857, allocations: 308.2 kB / 0.6597 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/0.9896, allocations: 2.508 MB / 0.6621 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004819/0.9944, allocations: 4.117 MB / 0.6661 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009398/1.004, allocations: 7.207 MB / 0.6732 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.198e-05/1.004, allocations: 15.19 kB / 0.6732 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01403/1.018, allocations: 8.027 MB / 0.681 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/1.018, allocations: 27.72 kB / 0.6811 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.903e-05/1.018, allocations: 47.5 kB / 0.6811 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003253/1.021, allocations: 1.241 MB / 0.6823 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004192/1.025, allocations: 1.136 MB / 0.6834 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/1.039, allocations: 11.23 MB / 0.6944 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/1.043, allocations: 271.6 kB / 0.6946 GB, free: 138.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007552/1.044, allocations: 233.9 kB / 0.6949 GB, free: 138.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004769/1.049, allocations: 2.957 MB / 0.6978 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.05, allocations: 368.3 kB / 0.6981 GB, free: 137 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.06, allocations: 6.667 MB / 0.7046 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/1.06, allocations: 44.55 kB / 0.7047 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.06, allocations: 15.75 kB / 0.7047 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-05/1.06, allocations: 22.97 kB / 0.7047 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/1.083, allocations: 14.86 MB / 0.7192 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.083, allocations: 4 kB / 0.7192 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/1.086, allocations: 0.7613 MB / 0.72 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003071/1.089, allocations: 1.118 MB / 0.721 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004638/1.089, allocations: 103.9 kB / 0.7211 GB, free: 120 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.101, allocations: 10.16 MB / 0.7311 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.101, allocations: 16.09 kB / 0.7311 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.114, allocations: 10.02 MB / 0.7409 GB, free: 99.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/1.116, allocations: 0.9436 MB / 0.7418 GB, free: 98.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005871/1.117, allocations: 87.98 kB / 0.7419 GB, free: 98.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/1.119, allocations: 199.8 kB / 0.7421 GB, free: 98.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005712/1.119, allocations: 299.2 kB / 0.7423 GB, free: 97.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/1.119, allocations: 128 kB / 0.7425 GB, free: 97.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002329/1.122, allocations: 1.961 MB / 0.7444 GB, free: 95.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/1.122, allocations: 0 / 0.7444 GB, free: 95.74 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004647/1.126, allocations: 1.394 MB / 0.7457 GB, free: 94.34 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005872/1.127, allocations: 270.2 kB / 0.746 GB, free: 94.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009805/1.137, allocations: 6.482 MB / 0.7523 GB, free: 87.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.137, allocations: 4.938 kB / 0.7523 GB, free: 87.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005517/1.142, allocations: 3.315 MB / 0.7556 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/1.147, allocations: 0.845 MB / 0.7564 GB, free: 83.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.168, allocations: 13.96 MB / 0.77 GB, free: 69.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004169/1.172, allocations: 4.943 MB / 0.7749 GB, free: 64.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/1.174, allocations: 367.3 kB / 0.7752 GB, free: 64 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/1.174, allocations: 0 / 0.7752 GB, free: 64 MB / 0.5294 GB Notification: Performance of Templates: time 0.4099/1.584, allocations: 177.4 MB / 0.9485 GB, free: 98.71 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.59243481582962] Failed to read output from testmodel.py, exit status != 0: 1.5929991421289742 1.600804989 1.134125919 Calling exit ...