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.001571/0.001571, allocations: 117.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.001426/0.001426, allocations: 202.8 kB / 24.46 MB, free: 3.902 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.426/1.426, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001907/0.001907, allocations: 67.84 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2491, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02493/0.2741, allocations: 21.7 MB / 453.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01497/0.289, allocations: 6.827 MB / 460.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004488/0.2935, allocations: 143.6 kB / 460.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01654/0.3101, allocations: 6.899 MB / 467.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009323/0.3194, allocations: 2.813 MB / 470.5 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004706/0.3241, allocations: 1.577 MB / 472 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01263/0.3367, allocations: 9.116 MB / 481.2 MB, free: 6.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01748/0.3542, allocations: 10.41 MB / 491.6 MB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007123/0.3613, allocations: 4.672 MB / 496.2 MB, free: 6.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008668/0.37, allocations: 5.233 MB / 0.4897 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003282/0.3733, allocations: 1.355 MB / 0.491 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004489/0.3778, allocations: 1.695 MB / 0.4927 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003144/0.3809, allocations: 2.627 MB / 0.4953 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007449/0.3883, allocations: 4.954 MB / 0.5001 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02202/0.4104, allocations: 18.26 MB / 0.5179 GB, free: 4.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4104, allocations: 0 / 0.5179 GB, free: 4.656 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4104, allocations: 0 / 0.5179 GB, free: 4.656 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004303/0.4108, allocations: 0 / 0.5179 GB, free: 4.656 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.03338/0.4442, allocations: 10.75 MB / 0.5284 GB, free: 9.809 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.4442, allocations: 8.031 kB / 0.5284 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03396/0.4782, allocations: 5.895 MB / 0.5342 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2571/0.7353, allocations: 5.738 MB / 0.5398 GB, free: 87.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006704/0.7359, allocations: 0.5561 MB / 0.5403 GB, free: 87.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003675/0.7396, allocations: 0.7352 MB / 0.5411 GB, free: 86.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03209/0.7717, allocations: 12.89 MB / 0.5536 GB, free: 81.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002287/0.7719, allocations: 14.48 kB / 0.5537 GB, free: 81.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002184/0.7741, allocations: 310.2 kB / 0.554 GB, free: 81.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005371/0.7747, allocations: 498 kB / 0.5544 GB, free: 81.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02304/0.7977, allocations: 12.62 MB / 0.5668 GB, free: 72.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06533/0.863, allocations: 41.55 MB / 0.6073 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01622/0.8792, allocations: 25.86 MB / 0.6326 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005446/0.8847, allocations: 2.922 MB / 0.6354 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/0.8853, allocations: 267.1 kB / 0.6357 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.8855, allocations: 81.66 kB / 0.6358 GB, free: 14.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 9.318e-06/0.8855, allocations: 4 kB / 0.6358 GB, free: 14.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.0466/0.9321, allocations: 17.09 MB / 0.6525 GB, free: 13.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.9321, allocations: 98.61 kB / 0.6526 GB, free: 13.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005249/0.9374, allocations: 2.841 MB / 0.6553 GB, free: 10.78 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006884/0.9381, allocations: 97.7 kB / 0.6554 GB, free: 10.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002613/0.9407, allocations: 3.145 MB / 0.6585 GB, free: 7.676 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001841/0.9425, allocations: 1.459 MB / 0.6599 GB, free: 6.234 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/0.9441, allocations: 0.9583 MB / 0.6609 GB, free: 5.266 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.9443, allocations: 301.1 kB / 0.6611 GB, free: 4.969 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004235/0.9486, allocations: 2.508 MB / 0.6636 GB, free: 2.453 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005788/0.9544, allocations: 4.111 MB / 0.6676 GB, free: 13.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/0.9658, allocations: 7.206 MB / 0.6746 GB, free: 5.695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.182e-05/0.9658, allocations: 12 kB / 0.6747 GB, free: 5.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01586/0.9817, allocations: 8.025 MB / 0.6825 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.9817, allocations: 24 kB / 0.6825 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.677e-05/0.9818, allocations: 52 kB / 0.6826 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003591/0.9854, allocations: 1.246 MB / 0.6838 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004618/0.99, allocations: 1.127 MB / 0.6849 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/1.007, allocations: 11.25 MB / 0.6959 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003791/1.011, allocations: 275.7 kB / 0.6961 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009686/1.012, allocations: 236 kB / 0.6964 GB, free: 15.16 MB / 0.5137 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.006898/1.019, allocations: 2.955 MB / 0.6992 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/1.02, allocations: 365.7 kB / 0.6996 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/1.035, allocations: 6.663 MB / 0.7061 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.683e-05/1.035, allocations: 43.94 kB / 0.7061 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/1.035, allocations: 16 kB / 0.7062 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.791e-05/1.035, allocations: 19.92 kB / 0.7062 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02657/1.061, allocations: 14.86 MB / 0.7207 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/1.061, allocations: 8 kB / 0.7207 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003141/1.065, allocations: 0.7535 MB / 0.7214 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003283/1.068, allocations: 1.126 MB / 0.7225 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000432/1.068, allocations: 103.9 kB / 0.7226 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/1.083, allocations: 10.17 MB / 0.7326 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/1.083, allocations: 12 kB / 0.7326 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2268/1.31, allocations: 10.01 MB / 0.7424 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002919/1.313, allocations: 0.9407 MB / 0.7433 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000782/1.314, allocations: 82.28 kB / 0.7434 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/1.316, allocations: 199.5 kB / 0.7435 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006097/1.317, allocations: 302.8 kB / 0.7438 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/1.317, allocations: 131.1 kB / 0.744 GB, free: 178.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002942/1.32, allocations: 1.956 MB / 0.7459 GB, free: 178 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.32, allocations: 5.75 kB / 0.7459 GB, free: 178 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005645/1.326, allocations: 1.388 MB / 0.7472 GB, free: 178 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.0007378/1.326, allocations: 264.2 kB / 0.7475 GB, free: 177.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009858/1.336, allocations: 6.503 MB / 0.7538 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.336, allocations: 2 kB / 0.7538 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005763/1.342, allocations: 3.313 MB / 0.7571 GB, free: 174.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004181/1.346, allocations: 0.8396 MB / 0.7579 GB, free: 174.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/1.37, allocations: 14.07 MB / 0.7716 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004936/1.375, allocations: 4.948 MB / 0.7765 GB, free: 165.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/1.377, allocations: 366.1 kB / 0.7768 GB, free: 165.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.663e-06/1.377, allocations: 0 / 0.7768 GB, free: 165.8 MB / 0.545 GB Notification: Performance of Templates: time 0.3852/1.762, allocations: 177.4 MB / 0.95 GB, free: 187.5 MB / 0.5606 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 -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: 15.808874227106571] Failed to read output from testmodel.py, exit status != 0: 1.7710217316634953 1.780677737 1.36769554 Calling exit ...