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.001493/0.001493, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.001622/0.001622, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.452/1.452, allocations: 230.5 MB / 255.4 MB, free: 15 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.001903/0.001903, allocations: 67.89 kB / 374.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1043, allocations: 53.31 MB / 428.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2154/0.3197, allocations: 21.64 MB / 449.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01622/0.3359, allocations: 6.807 MB / 456.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006165/0.3421, allocations: 148.9 kB / 456.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01795/0.3601, allocations: 6.907 MB / 463.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.3711, allocations: 2.803 MB / 466.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005362/0.3764, allocations: 1.58 MB / 468 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01516/0.3916, allocations: 9.077 MB / 477.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02313/0.4147, allocations: 13.04 MB / 490.1 MB, free: 2.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/0.4248, allocations: 4.664 MB / 494.8 MB, free: 13.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.4353, allocations: 5.229 MB / 500 MB, free: 8.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003966/0.4393, allocations: 1.355 MB / 0.4896 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006056/0.4453, allocations: 1.687 MB / 0.4912 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005279/0.4506, allocations: 2.627 MB / 0.4938 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01068/0.4613, allocations: 4.958 MB / 0.4987 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0292/0.4905, allocations: 18.25 MB / 0.5165 GB, free: 11.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.4905, allocations: 3.984 kB / 0.5165 GB, free: 11.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4905, allocations: 0 / 0.5165 GB, free: 11.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005145/0.491, allocations: 8 kB / 0.5165 GB, free: 11.73 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.03537/0.5264, allocations: 10.73 MB / 0.527 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5264, allocations: 12.03 kB / 0.527 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03514/0.5616, allocations: 5.903 MB / 0.5327 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.5749, allocations: 5.742 MB / 0.5383 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006859/0.5756, allocations: 0.5579 MB / 0.5389 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003378/0.579, allocations: 0.7342 MB / 0.5396 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0339/0.6129, allocations: 12.88 MB / 0.5522 GB, free: 6.934 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006092/0.6135, allocations: 11.95 kB / 0.5522 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003717/0.6172, allocations: 323.8 kB / 0.5525 GB, free: 6.605 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006693/0.6179, allocations: 492.1 kB / 0.553 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02953/0.6474, allocations: 12.63 MB / 0.5653 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07744/0.7248, allocations: 41.54 MB / 0.6059 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2786/1.003, allocations: 25.87 MB / 0.6311 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005299/1.009, allocations: 2.916 MB / 0.634 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004439/1.009, allocations: 272.3 kB / 0.6342 GB, free: 136.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/1.009, allocations: 76.19 kB / 0.6343 GB, free: 136.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=410): time 5.29e-06/1.009, allocations: 0 / 0.6343 GB, free: 136.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=415): time 0.03898/1.048, allocations: 17.09 MB / 0.651 GB, free: 130.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/1.048, allocations: 95.55 kB / 0.6511 GB, free: 130.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/1.053, allocations: 2.84 MB / 0.6539 GB, free: 129.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005676/1.053, allocations: 91.05 kB / 0.654 GB, free: 129.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001692/1.055, allocations: 3.148 MB / 0.657 GB, free: 127.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/1.056, allocations: 1.466 MB / 0.6585 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/1.058, allocations: 0.9501 MB / 0.6594 GB, free: 126.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.721e-05/1.058, allocations: 310.2 kB / 0.6597 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003524/1.061, allocations: 2.513 MB / 0.6621 GB, free: 124.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/1.065, allocations: 4.111 MB / 0.6662 GB, free: 121.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007763/1.073, allocations: 7.205 MB / 0.6732 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-05/1.073, allocations: 14.25 kB / 0.6732 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01215/1.085, allocations: 8.026 MB / 0.681 GB, free: 114 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/1.085, allocations: 32.75 kB / 0.6811 GB, free: 114 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.999e-05/1.085, allocations: 52.16 kB / 0.6811 GB, free: 114 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003213/1.089, allocations: 1.24 MB / 0.6823 GB, free: 113.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003962/1.093, allocations: 1.128 MB / 0.6834 GB, free: 113.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/1.105, allocations: 11.24 MB / 0.6944 GB, free: 104.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/1.109, allocations: 272.4 kB / 0.6947 GB, free: 103.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005959/1.11, allocations: 236.6 kB / 0.6949 GB, free: 103.6 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.00432/1.114, allocations: 2.948 MB / 0.6978 GB, free: 100.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008848/1.115, allocations: 369.6 kB / 0.6981 GB, free: 100.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009768/1.125, allocations: 6.671 MB / 0.7046 GB, free: 93.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/1.125, allocations: 40 kB / 0.7047 GB, free: 93.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.125, allocations: 13.38 kB / 0.7047 GB, free: 93.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.662e-05/1.125, allocations: 27.84 kB / 0.7047 GB, free: 93.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.148, allocations: 14.86 MB / 0.7192 GB, free: 78.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/1.148, allocations: 8 kB / 0.7192 GB, free: 78.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/1.151, allocations: 0.7535 MB / 0.72 GB, free: 77.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/1.154, allocations: 1.126 MB / 0.7211 GB, free: 76.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003821/1.154, allocations: 107.5 kB / 0.7212 GB, free: 76.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/1.165, allocations: 10.16 MB / 0.7311 GB, free: 66.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.165, allocations: 11.94 kB / 0.7311 GB, free: 66.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/1.178, allocations: 10.02 MB / 0.7409 GB, free: 56.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/1.18, allocations: 0.9397 MB / 0.7418 GB, free: 55.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004933/1.18, allocations: 91.86 kB / 0.7419 GB, free: 54.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/1.182, allocations: 203.6 kB / 0.7421 GB, free: 54.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005635/1.183, allocations: 299.3 kB / 0.7424 GB, free: 54.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002201/1.183, allocations: 128 kB / 0.7425 GB, free: 54.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002257/1.185, allocations: 1.955 MB / 0.7444 GB, free: 52.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.185, allocations: 0 / 0.7444 GB, free: 52.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004137/1.189, allocations: 1.391 MB / 0.7458 GB, free: 51 MB / 0.5137 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.0004689/1.19, allocations: 274 kB / 0.746 GB, free: 50.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00897/1.199, allocations: 6.49 MB / 0.7524 GB, free: 44.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.199, allocations: 0 / 0.7524 GB, free: 44.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00505/1.204, allocations: 3.316 MB / 0.7556 GB, free: 40.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003969/1.208, allocations: 0.8395 MB / 0.7564 GB, free: 40.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/1.232, allocations: 13.97 MB / 0.7701 GB, free: 26.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.236, allocations: 4.943 MB / 0.7749 GB, free: 21.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/1.237, allocations: 363.3 kB / 0.7752 GB, free: 20.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.104e-06/1.237, allocations: 0 / 0.7752 GB, free: 20.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.3974/1.635, allocations: 177.4 MB / 0.9485 GB, free: 72.83 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 -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.805075488984585] Failed to read output from testmodel.py, exit status != 0: 1.6443123859353364 1.651635057 1.158723399 Calling exit ...