Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001392/0.001392, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001788/0.001788, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.483/1.483, allocations: 230.4 MB / 258.1 MB, free: 8.129 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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.002001/0.002001, allocations: 67.83 kB / 378.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3379, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02827/0.3661, allocations: 21.7 MB / 453.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01695/0.3831, allocations: 6.818 MB / 460.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004859/0.3879, allocations: 147.6 kB / 460.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0176/0.4056, allocations: 6.906 MB / 467.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.4165, allocations: 2.81 MB / 470.5 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005645/0.4222, allocations: 1.593 MB / 472.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01494/0.4371, allocations: 9.103 MB / 481.2 MB, free: 6.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02018/0.4573, allocations: 10.41 MB / 491.6 MB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008577/0.4659, allocations: 4.676 MB / 496.2 MB, free: 6.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009876/0.4757, allocations: 5.229 MB / 0.4897 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003742/0.4795, allocations: 1.355 MB / 0.491 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005334/0.4848, allocations: 1.695 MB / 0.4927 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004347/0.4892, allocations: 2.627 MB / 0.4953 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009035/0.4982, allocations: 4.958 MB / 0.5001 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02356/0.5217, allocations: 18.26 MB / 0.5179 GB, free: 4.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.5218, allocations: 0 / 0.5179 GB, free: 4.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5218, allocations: 0 / 0.5179 GB, free: 4.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004764/0.5222, allocations: 3.938 kB / 0.5179 GB, free: 4.637 MB / 430.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.03453/0.5568, allocations: 10.74 MB / 0.5284 GB, free: 9.793 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5568, allocations: 8.031 kB / 0.5284 GB, free: 9.785 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05633/0.6131, allocations: 5.899 MB / 0.5342 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4809/1.094, allocations: 5.733 MB / 0.5398 GB, free: 87.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000635/1.095, allocations: 0.5565 MB / 0.5403 GB, free: 87.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003532/1.098, allocations: 0.7382 MB / 0.5411 GB, free: 86.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03413/1.132, allocations: 12.89 MB / 0.5536 GB, free: 81.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003875/1.133, allocations: 12.42 kB / 0.5537 GB, free: 81.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002645/1.135, allocations: 312.5 kB / 0.554 GB, free: 81.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006673/1.136, allocations: 496.7 kB / 0.5544 GB, free: 81.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02507/1.161, allocations: 12.62 MB / 0.5668 GB, free: 72.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06708/1.228, allocations: 41.55 MB / 0.6073 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/1.245, allocations: 25.87 MB / 0.6326 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005425/1.251, allocations: 2.916 MB / 0.6354 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000667/1.251, allocations: 276.1 kB / 0.6357 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/1.251, allocations: 69.78 kB / 0.6358 GB, free: 14.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 8.235e-06/1.251, allocations: 4 kB / 0.6358 GB, free: 14.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.0482/1.3, allocations: 17.1 MB / 0.6525 GB, free: 13.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/1.3, allocations: 94.67 kB / 0.6526 GB, free: 13.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007262/1.307, allocations: 2.837 MB / 0.6553 GB, free: 10.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006702/1.308, allocations: 93.7 kB / 0.6554 GB, free: 10.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002949/1.31, allocations: 3.146 MB / 0.6585 GB, free: 7.703 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002028/1.313, allocations: 1.464 MB / 0.6599 GB, free: 6.258 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002909/1.315, allocations: 0.9583 MB / 0.6609 GB, free: 5.289 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/1.316, allocations: 301.1 kB / 0.6611 GB, free: 4.992 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004891/1.32, allocations: 2.508 MB / 0.6636 GB, free: 2.477 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006596/1.327, allocations: 4.118 MB / 0.6676 GB, free: 13.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/1.339, allocations: 7.203 MB / 0.6746 GB, free: 5.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.945e-05/1.339, allocations: 12 kB / 0.6747 GB, free: 5.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01724/1.356, allocations: 8.031 MB / 0.6825 GB, free: 13.64 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 6.616e-05/1.356, allocations: 24 kB / 0.6825 GB, free: 13.62 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/1.356, allocations: 52 kB / 0.6826 GB, free: 13.57 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003892/1.36, allocations: 1.236 MB / 0.6838 GB, free: 12.33 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004954/1.365, allocations: 1.135 MB / 0.6849 GB, free: 11.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/1.384, allocations: 11.25 MB / 0.6959 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004439/1.389, allocations: 271.8 kB / 0.6961 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/1.39, allocations: 240 kB / 0.6964 GB, free: 15.18 MB / 0.5138 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.009606/1.4, allocations: 2.952 MB / 0.6992 GB, free: 12.21 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001912/1.402, allocations: 361.7 kB / 0.6996 GB, free: 11.86 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01658/1.419, allocations: 6.671 MB / 0.7061 GB, free: 5.141 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.644e-05/1.419, allocations: 43.98 kB / 0.7061 GB, free: 5.098 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/1.419, allocations: 19.94 kB / 0.7062 GB, free: 5.078 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.16e-05/1.419, allocations: 23.91 kB / 0.7062 GB, free: 5.055 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03476/1.453, allocations: 14.85 MB / 0.7207 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/1.453, allocations: 11.98 kB / 0.7207 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/1.457, allocations: 0.7535 MB / 0.7214 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003764/1.461, allocations: 1.13 MB / 0.7225 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007427/1.462, allocations: 99.89 kB / 0.7226 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/1.479, allocations: 10.17 MB / 0.7326 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.479, allocations: 12 kB / 0.7326 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3035/1.782, allocations: 10.01 MB / 0.7424 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003689/1.786, allocations: 0.94 MB / 0.7433 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008587/1.787, allocations: 83.22 kB / 0.7433 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.789, allocations: 199.9 kB / 0.7435 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/1.79, allocations: 299.2 kB / 0.7438 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003192/1.791, allocations: 129.1 kB / 0.7439 GB, free: 178.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003676/1.794, allocations: 1.956 MB / 0.7459 GB, free: 178.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.794, allocations: 2.094 kB / 0.7459 GB, free: 178.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004755/1.799, allocations: 1.396 MB / 0.7472 GB, free: 178.1 MB / 0.545 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.000627/1.8, allocations: 269.9 kB / 0.7475 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.81, allocations: 6.493 MB / 0.7538 GB, free: 176 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.81, allocations: 5.938 kB / 0.7538 GB, free: 176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005521/1.815, allocations: 3.318 MB / 0.7571 GB, free: 174.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/1.82, allocations: 0.8327 MB / 0.7579 GB, free: 174.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02439/1.844, allocations: 14.26 MB / 0.7718 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005309/1.85, allocations: 5.082 MB / 0.7768 GB, free: 165.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004031/1.854, allocations: 1.608 MB / 0.7783 GB, free: 165.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009686/1.855, allocations: 333.8 kB / 0.7787 GB, free: 165.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.422e-06/1.855, allocations: 0 / 0.7787 GB, free: 165.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1031/1.958, allocations: 62.99 MB / 0.8402 GB, free: 107.2 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.41490092780441] Failed to read output from testmodel.py, exit status != 0: 1.9681998053565621 1.977833201 1.453285204 Calling exit ...